posts: allow approvers to see uploader names.

This commit is contained in:
evazion
2020-03-22 15:25:45 -05:00
parent 8492979ecb
commit 6a0799fec0

View File

@@ -48,7 +48,7 @@ class PostPolicy < ApplicationPolicy
end
def can_view_uploader?
user.is_moderator?
user.is_approver?
end
def can_lock_rating?