mirror of
https://github.com/discourse/discourse.git
synced 2025-02-25 18:55:32 -06: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
|
end
|
||||||
|
|
||||||
def can_rebake?
|
def can_rebake?
|
||||||
is_staff?
|
is_staff? || @user.has_trust_level?(TrustLevel[4])
|
||||||
end
|
end
|
||||||
|
|
||||||
def can_see_flagged_posts?
|
def can_see_flagged_posts?
|
||||||
|
Loading…
Reference in New Issue
Block a user