trabajo-afectivo/app/policies/controllers/integration/idoit_controller_policy.rb

6 lines
271 B
Ruby
Raw Normal View History

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