diff options
author | GitLab Bot <gitlab-bot@gitlab.com> | 2021-09-14 03:10:45 +0300 |
---|---|---|
committer | GitLab Bot <gitlab-bot@gitlab.com> | 2021-09-14 03:10:45 +0300 |
commit | c7e53e67898682ac7ccb61525f66980989ddb75e (patch) | |
tree | 2b79592f82d78bbe393af80f73e5917f2b68540e /app/policies/dependency_proxy | |
parent | 2d4f258f067f55894862e47ec32bbc54649d4741 (diff) |
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'app/policies/dependency_proxy')
-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 |