Chatwoot/app/policies/hook_policy.rb

14 lines
203 B
Ruby
Raw Normal View History

class HookPolicy < ApplicationPolicy
def create?
@account_user.administrator?
end
def update?
@account_user.administrator?
end
def destroy?
@account_user.administrator?
end
end