summaryrefslogtreecommitdiff
path: root/app/policies/projects/branch_rule_policy.rb
diff options
context:
space:
mode:
Diffstat (limited to 'app/policies/projects/branch_rule_policy.rb')
-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