mirror of
https://github.com/discourse/discourse.git
synced 2025-02-25 18:55:32 -06:00
FEATURE: show the user's flagged/deleted posts
This commit is contained in:
@@ -156,4 +156,12 @@ module PostGuardian
|
||||
def can_wiki?
|
||||
is_staff? || @user.has_trust_level?(:elder)
|
||||
end
|
||||
|
||||
def can_see_flagged_posts?
|
||||
is_staff?
|
||||
end
|
||||
|
||||
def can_see_deleted_posts?
|
||||
is_staff?
|
||||
end
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user