macros_controller_policy.rb 263 B

1234567
  1. # Copyright (C) 2012-2023 Zammad Foundation, https://zammad-foundation.org/
  2. class Controllers::MacrosControllerPolicy < Controllers::ApplicationControllerPolicy
  3. default_permit! ['admin.macro']
  4. permit! %i[index show], to: ['admin.macro', 'ticket.agent']
  5. end