6 lines
271 B
Ruby
6 lines
271 B
Ruby
|
class Controllers::Integration::IdoitControllerPolicy < Controllers::ApplicationControllerPolicy
|
||
|
permit! %i[query update], to: 'ticket.agent'
|
||
|
permit! :verify, to: 'admin.integration.idoit'
|
||
|
default_permit!(['agent.integration.idoit', 'admin.integration.idoit'])
|
||
|
end
|