d5215fea93
- Introduces JSON Schema validations via JSONSchemer - Add CRUD APIs for integration hooks
13 lines
203 B
Ruby
13 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
|