mirror of
https://github.com/codeninjasllc/discourse.git
synced 2024-11-23 15:48:43 -05:00
FIX: allow TL4 user to rebake post
This commit is contained in:
parent
d9c6acafc0
commit
b413c6249d
1 changed files with 1 additions and 1 deletions
|
@ -176,7 +176,7 @@ module PostGuardian
|
|||
end
|
||||
|
||||
def can_rebake?
|
||||
is_staff?
|
||||
is_staff? || @user.has_trust_level?(TrustLevel[4])
|
||||
end
|
||||
|
||||
def can_see_flagged_posts?
|
||||
|
|
Loading…
Reference in a new issue