mirror of
https://github.com/astuto/astuto.git
synced 2025-12-15 19:27:52 +01:00
5 lines
107 B
Ruby
5 lines
107 B
Ruby
class CommentPolicy < ApplicationPolicy
|
|
def update?
|
|
user == record.user or user.power_user?
|
|
end
|
|
end |