5 lines
237 B
Ruby
5 lines
237 B
Ruby
|
class Controllers::TicketPrioritiesControllerPolicy < Controllers::ApplicationControllerPolicy
|
||
|
permit! %i[index show], to: ['ticket.agent', 'admin.object', 'ticket.customer']
|
||
|
permit! %i[create update destroy], to: 'admin.object'
|
||
|
end
|