debian-mirror-gitlab/app/policies/application_setting_policy.rb

9 lines
236 B
Ruby
Raw Normal View History

2021-03-11 19:13:27 +05:30
# frozen_string_literal: true
class ApplicationSettingPolicy < BasePolicy # rubocop:disable Gitlab/NamespacedClass
2022-05-07 20:08:51 +05:30
rule { admin }.policy do
enable :read_application_setting
enable :update_runners_registration_token
end
2021-03-11 19:13:27 +05:30
end