idoit_controller_policy.rb 348 B

1234567
  1. # Copyright (C) 2012-2024 Zammad Foundation, https://zammad-foundation.org/
  2. class Controllers::Integration::IdoitControllerPolicy < Controllers::ApplicationControllerPolicy
  3. permit! %i[query update], to: 'ticket.agent'
  4. permit! :verify, to: 'admin.integration.idoit'
  5. default_permit!(['agent.integration.idoit', 'admin.integration.idoit'])
  6. end