mirror of
https://github.com/discourse/discourse.git
synced 2026-09-05 04:40:41 -05:00
FEATURE: download user posts archive
This commit is contained in:
@@ -249,6 +249,10 @@ class Guardian
|
||||
@can_see_emails
|
||||
end
|
||||
|
||||
def can_export_admin_entity?(user)
|
||||
user.staff?
|
||||
end
|
||||
|
||||
private
|
||||
|
||||
def is_my_own?(obj)
|
||||
|
||||
Reference in New Issue
Block a user