diff options
Diffstat (limited to 'app/policies/dependency_proxy/image_ttl_group_policy_policy.rb')
-rw-r--r-- | app/policies/dependency_proxy/image_ttl_group_policy_policy.rb | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/app/policies/dependency_proxy/image_ttl_group_policy_policy.rb b/app/policies/dependency_proxy/image_ttl_group_policy_policy.rb new file mode 100644 index 00000000000..cf7e1ded137 --- /dev/null +++ b/app/policies/dependency_proxy/image_ttl_group_policy_policy.rb @@ -0,0 +1,6 @@ +# frozen_string_literal: true +module DependencyProxy + class ImageTtlGroupPolicyPolicy < BasePolicy + delegate { @subject.group } + end +end |