calendars_controller_policy.rb 286 B

123456
  1. # Copyright (C) 2012-2024 Zammad Foundation, https://zammad-foundation.org/
  2. class Controllers::CalendarsControllerPolicy < Controllers::ApplicationControllerPolicy
  3. permit! :timezones, to: ['admin.calendar', 'admin.trigger', 'admin.scheduler']
  4. default_permit!('admin.calendar')
  5. end