trabajo-afectivo/app/policies/mention_policy.rb

6 lines
102 B
Ruby
Raw Normal View History

class MentionPolicy < ApplicationPolicy
def create?
user.permissions?('ticket.agent')
end
end