base_controller_policy.rb 282 B

123456
  1. # Copyright (C) 2012-2023 Zammad Foundation, https://zammad-foundation.org/
  2. class Controllers::KnowledgeBase::BaseControllerPolicy < Controllers::ApplicationControllerPolicy
  3. default_permit!('knowledge_base.*')
  4. permit! %i[create update destroy], to: 'knowledge_base.editor'
  5. end