diff options
author | GitLab Bot <gitlab-bot@gitlab.com> | 2022-05-12 09:07:53 +0300 |
---|---|---|
committer | GitLab Bot <gitlab-bot@gitlab.com> | 2022-05-12 09:07:53 +0300 |
commit | 90726a8ccc9df6d9b5ff4f5e1eb31d015c1db8e2 (patch) | |
tree | c5992348be5d8d81656ce665efd6980bfa8fbf71 /app/policies/namespace_ci_cd_setting_policy.rb | |
parent | 48d9e7ff8ddfe152686d450fa5ac511f12d42d5b (diff) |
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'app/policies/namespace_ci_cd_setting_policy.rb')
-rw-r--r-- | app/policies/namespace_ci_cd_setting_policy.rb | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/app/policies/namespace_ci_cd_setting_policy.rb b/app/policies/namespace_ci_cd_setting_policy.rb new file mode 100644 index 00000000000..d883526b86d --- /dev/null +++ b/app/policies/namespace_ci_cd_setting_policy.rb @@ -0,0 +1,5 @@ +# frozen_string_literal: true + +class NamespaceCiCdSettingPolicy < BasePolicy # rubocop:disable Gitlab/NamespacedClass + delegate { @subject.namespace } +end |