trabajo-afectivo/app/policies/controllers/signatures_controller_policy.rb

7 lines
302 B
Ruby
Raw Normal View History

# Copyright (C) 2012-2021 Zammad Foundation, http://zammad-foundation.org/
class Controllers::SignaturesControllerPolicy < Controllers::ApplicationControllerPolicy
permit! %i[index show], to: ['ticket.agent', 'admin.channel_email']
permit! %i[create update destroy], to: 'admin.channel_email'
end