sessions_policy.rb 183 B

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