diff options
author | GitLab Bot <gitlab-bot@gitlab.com> | 2021-09-21 03:09:28 +0300 |
---|---|---|
committer | GitLab Bot <gitlab-bot@gitlab.com> | 2021-09-21 03:09:28 +0300 |
commit | b1031060f00cdb201cf8d790c6ec6421860c30f3 (patch) | |
tree | 44b572f9df4a5696d4378bc7848f19ac79e02cbd /app/policies/ci | |
parent | cfd505b1984183857fcfeab259c5a38791205914 (diff) |
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'app/policies/ci')
-rw-r--r-- | app/policies/ci/resource_group_policy.rb | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/app/policies/ci/resource_group_policy.rb b/app/policies/ci/resource_group_policy.rb new file mode 100644 index 00000000000..ef384265b11 --- /dev/null +++ b/app/policies/ci/resource_group_policy.rb @@ -0,0 +1,7 @@ +# frozen_string_literal: true + +module Ci + class ResourceGroupPolicy < BasePolicy + delegate { @subject.project } + end +end |