mirror of
https://github.com/discourse/discourse.git
synced 2025-02-25 18:55:32 -06:00
FIX: allow TL4 user to rebake post
This commit is contained in:
parent
d9c6acafc0
commit
b413c6249d
@ -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 New Issue
Block a user