system_report_policy.rb 189 B

1234567
  1. # Copyright (C) 2012-2024 Zammad Foundation, https://zammad-foundation.org/
  2. class SystemReportPolicy < ApplicationPolicy
  3. def show?
  4. user.permissions?('admin.system_report')
  5. end
  6. end