ticket_priorities_controller_policy.rb 332 B

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