17 lines
254 B
Ruby
17 lines
254 B
Ruby
class LabelPolicy < ApplicationPolicy
|
|
def index?
|
|
@account_user.administrator?
|
|
end
|
|
|
|
def update?
|
|
@account_user.administrator?
|
|
end
|
|
|
|
def show?
|
|
@account_user.administrator?
|
|
end
|
|
|
|
def create?
|
|
@account_user.administrator?
|
|
end
|
|
end
|