diff options
Diffstat (limited to 'app/policies/container_registry/protection/rule_policy.rb')
-rw-r--r-- | app/policies/container_registry/protection/rule_policy.rb | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/app/policies/container_registry/protection/rule_policy.rb b/app/policies/container_registry/protection/rule_policy.rb new file mode 100644 index 00000000000..4dc8dba3276 --- /dev/null +++ b/app/policies/container_registry/protection/rule_policy.rb @@ -0,0 +1,9 @@ +# frozen_string_literal: true + +module ContainerRegistry + module Protection + class RulePolicy < BasePolicy + delegate { @subject.project } + end + end +end |