users_controller_policy.rb 311 B

123456
  1. # Copyright (C) 2012-2024 Zammad Foundation, https://zammad-foundation.org/
  2. class Controllers::UsersControllerPolicy < Controllers::ApplicationControllerPolicy
  3. permit! %i[import_example import_start unlock], to: 'admin.user'
  4. permit! %i[search history create update], to: ['ticket.agent', 'admin.user']
  5. end