# Copyright (C) 2012-2022 Zammad Foundation, https://zammad-foundation.org/ class UserDevicePolicy < ApplicationPolicy def log? user&.permissions?('user_preferences.device') end end