FEATURE: download user posts archive

This commit is contained in:
Arpit Jalan
2014-12-24 15:13:48 +05:30
parent cd3703e441
commit bb152a5b3f
19 changed files with 169 additions and 61 deletions
+4
View File
@@ -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)