gitlab-org--gitlab-foss/app/policies/application_setting_policy.rb

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

9 lines
236 B
Ruby
Raw Normal View History

# frozen_string_literal: true
class ApplicationSettingPolicy < BasePolicy # rubocop:disable Gitlab/NamespacedClass
rule { admin }.policy do
enable :read_application_setting
enable :update_runners_registration_token
end
end