checklist_templates_controller_policy.rb 283 B

123456
  1. # Copyright (C) 2012-2024 Zammad Foundation, https://zammad-foundation.org/
  2. class Controllers::ChecklistTemplatesControllerPolicy < Controllers::ApplicationControllerPolicy
  3. permit! %i[index show], to: ['ticket.agent', 'admin.checklist']
  4. default_permit!(['admin.checklist'])
  5. end