github_controller_policy.rb 352 B

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