14 lines
203 B
Ruby
14 lines
203 B
Ruby
|
class HookPolicy < ApplicationPolicy
|
||
|
def create?
|
||
|
@account_user.administrator?
|
||
|
end
|
||
|
|
||
|
def update?
|
||
|
@account_user.administrator?
|
||
|
end
|
||
|
|
||
|
def destroy?
|
||
|
@account_user.administrator?
|
||
|
end
|
||
|
end
|