FIX: allow TL4 user to rebake post

This commit is contained in:
Arpit Jalan 2015-02-03 22:49:01 +05:30
parent d9c6acafc0
commit b413c6249d

View file

@ -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?