mirror of
https://github.com/discourse/discourse.git
synced 2025-01-19 09:52:46 +08:00
Merge pull request #3165 from techAPJ/patch-2
FIX: allow TL4 user to rebake post
This commit is contained in:
commit
91b3123e14
|
@ -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