Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGitLab Bot <gitlab-bot@gitlab.com>2023-01-10 00:08:39 +0300
committerGitLab Bot <gitlab-bot@gitlab.com>2023-01-10 00:08:39 +0300
commitd4b2ad25a56a9baf41a27a2190458330645b3102 (patch)
treefdfa7d67e75eedb35bf689ade0b5d09f4bae3f4b /app/policies
parent17deb2a503bb8163514fe37618bf36f75376b9ae (diff)
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'app/policies')
-rw-r--r--app/policies/projects/branch_rule_policy.rb8
1 files changed, 8 insertions, 0 deletions
diff --git a/app/policies/projects/branch_rule_policy.rb b/app/policies/projects/branch_rule_policy.rb
new file mode 100644
index 00000000000..9ea15ea26d4
--- /dev/null
+++ b/app/policies/projects/branch_rule_policy.rb
@@ -0,0 +1,8 @@
+# frozen_string_literal: true
+
+module Projects
+ class BranchRulePolicy < ::ProtectedBranchPolicy
+ end
+end
+
+Projects::BranchRulePolicy.prepend_mod