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

5 lines
226 B
Ruby
Raw Normal View History

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