version_policy.rb 178 B

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