debian-mirror-gitlab/app/policies/application_setting_policy.rb
2021-03-11 19:13:27 +05:30

5 lines
170 B
Ruby

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