# Copyright (C) 2012-2022 Zammad Foundation, https://zammad-foundation.org/ class SessionsPolicy < ApplicationPolicy def impersonate? user.permissions?('admin.user') end end