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