mirror of
https://github.com/discourse/discourse.git
synced 2025-09-06 09:10:25 +08:00
FIX: show all staff events related to the target user
This commit is contained in:
parent
b32f33b3f0
commit
213a496203
3 changed files with 4 additions and 8 deletions
|
@ -159,7 +159,7 @@ class Guardian
|
|||
end
|
||||
|
||||
def can_view_action_logs?(target)
|
||||
is_staff? && target && target.staff?
|
||||
is_staff? && target
|
||||
end
|
||||
|
||||
# Can we approve it?
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue