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>2021-09-14 03:10:45 +0300
committerGitLab Bot <gitlab-bot@gitlab.com>2021-09-14 03:10:45 +0300
commitc7e53e67898682ac7ccb61525f66980989ddb75e (patch)
tree2b79592f82d78bbe393af80f73e5917f2b68540e /app/policies/dependency_proxy
parent2d4f258f067f55894862e47ec32bbc54649d4741 (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.rb6
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