tickets_controller_policy.rb 436 B

12345678
  1. # Copyright (C) 2012-2023 Zammad Foundation, https://zammad-foundation.org/
  2. class Controllers::TicketsControllerPolicy < Controllers::ApplicationControllerPolicy
  3. permit! %i[import_example import_start], to: 'admin'
  4. permit! :selector, to: 'admin.*'
  5. permit! %i[ticket_customer ticket_history ticket_related ticket_recent ticket_merge ticket_split], to: 'ticket.agent'
  6. permit! :create, to: ['ticket.agent', 'ticket.customer']
  7. end