diff options
author | GitLab Bot <gitlab-bot@gitlab.com> | 2022-01-27 21:14:37 +0300 |
---|---|---|
committer | GitLab Bot <gitlab-bot@gitlab.com> | 2022-01-27 21:14:37 +0300 |
commit | 956c34e4688544cba1ceee3205242df3b3a9fe30 (patch) | |
tree | be677c3ef09d2b2348c4ef6adcfb79092ad37b5e /app/policies/ci | |
parent | 48f93eadd0c117a41b4e29e3d335f451a5e6e52f (diff) |
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'app/policies/ci')
-rw-r--r-- | app/policies/ci/project_pipelines_policy.rb | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/app/policies/ci/project_pipelines_policy.rb b/app/policies/ci/project_pipelines_policy.rb new file mode 100644 index 00000000000..aab1208a8fe --- /dev/null +++ b/app/policies/ci/project_pipelines_policy.rb @@ -0,0 +1,7 @@ +# frozen_string_literal: true + +module Ci + class ProjectPipelinesPolicy < BasePolicy + delegate { @subject.project } + end +end |