5 lines
208 B
Ruby
5 lines
208 B
Ruby
|
class Controllers::EmailAddressesControllerPolicy < Controllers::ApplicationControllerPolicy
|
||
|
permit! %i[index show], to: ['ticket.agent', 'admin.channel_email']
|
||
|
default_permit!('admin.channel_email')
|
||
|
end
|