ticket_priorities_controller_policy.rb 237 B

1234
  1. class Controllers::TicketPrioritiesControllerPolicy < Controllers::ApplicationControllerPolicy
  2. permit! %i[index show], to: ['ticket.agent', 'admin.object', 'ticket.customer']
  3. permit! %i[create update destroy], to: 'admin.object'
  4. end