tickets_controller_policy.rb 418 B

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