diff options
author | GitLab Bot <gitlab-bot@gitlab.com> | 2022-03-14 21:07:46 +0300 |
---|---|---|
committer | GitLab Bot <gitlab-bot@gitlab.com> | 2022-03-14 21:07:46 +0300 |
commit | fbf2955cfc9ffc319d57960a0b0df1ee1b5fd05f (patch) | |
tree | 6964ec0aaac3d432a4795878e87d78566f7bf719 /app/policies/application_setting_policy.rb | |
parent | 739467f1fa4d5d4042b47ff6637a567d1ad6a4a4 (diff) |
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'app/policies/application_setting_policy.rb')
-rw-r--r-- | app/policies/application_setting_policy.rb | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/app/policies/application_setting_policy.rb b/app/policies/application_setting_policy.rb index 114c71fd99d..6d0b5f36fa4 100644 --- a/app/policies/application_setting_policy.rb +++ b/app/policies/application_setting_policy.rb @@ -1,5 +1,8 @@ # frozen_string_literal: true class ApplicationSettingPolicy < BasePolicy # rubocop:disable Gitlab/NamespacedClass - rule { admin }.enable :read_application_setting + rule { admin }.policy do + enable :read_application_setting + enable :update_runners_registration_token + end end |