2021-02-09 09:09:19 +00:00
|
|
|
# frozen_string_literal: true
|
|
|
|
|
|
|
|
class ApplicationSettingPolicy < BasePolicy # rubocop:disable Gitlab/NamespacedClass
|
2022-03-14 18:07:46 +00:00
|
|
|
rule { admin }.policy do
|
|
|
|
enable :read_application_setting
|
|
|
|
enable :update_runners_registration_token
|
|
|
|
end
|
2021-02-09 09:09:19 +00:00
|
|
|
end
|