mirror of
https://github.com/astuto/astuto.git
synced 2025-12-16 11:47:56 +01:00
17 lines
197 B
Ruby
17 lines
197 B
Ruby
class BoardPolicy < ApplicationPolicy
|
|
def create?
|
|
user.admin?
|
|
end
|
|
|
|
def update?
|
|
user.admin?
|
|
end
|
|
|
|
def destroy?
|
|
user.admin?
|
|
end
|
|
|
|
def update_order?
|
|
user.admin?
|
|
end
|
|
end |