summaryrefslogtreecommitdiffstats
path: root/apps/files_external/controller
diff options
context:
space:
mode:
authorThomas Müller <thomas.mueller@tmit.eu>2016-01-13 11:01:27 +0100
committerThomas Müller <thomas.mueller@tmit.eu>2016-01-13 11:01:27 +0100
commitf0c869d22ef369e2111fc8ea08f969e186993693 (patch)
tree7c7ee5ab9697a0b5519ed87fd8cb19ba24b93504 /apps/files_external/controller
parentca4f24aa97e275f5887470c92851e4bc4e4021da (diff)
parentb1a706999f637d7ed05516f2185e9a2f20a5934a (diff)
downloadnextcloud-server-f0c869d22ef369e2111fc8ea08f969e186993693.tar.gz
nextcloud-server-f0c869d22ef369e2111fc8ea08f969e186993693.zip
Merge pull request #21662 from owncloud/external-list-non-admin
Allow non admins to list their own mounts
Diffstat (limited to 'apps/files_external/controller')
-rw-r--r--apps/files_external/controller/userstoragescontroller.php11
1 files changed, 11 insertions, 0 deletions
diff --git a/apps/files_external/controller/userstoragescontroller.php b/apps/files_external/controller/userstoragescontroller.php
index 86a8ed79227..345e4bf652b 100644
--- a/apps/files_external/controller/userstoragescontroller.php
+++ b/apps/files_external/controller/userstoragescontroller.php
@@ -63,6 +63,17 @@ class UserStoragesController extends StoragesController {
}
/**
+ * Get all storage entries
+ *
+ * @NoAdminRequired
+ *
+ * @return DataResponse
+ */
+ public function index() {
+ return parent::index();
+ }
+
+ /**
* Return storage
*
* @NoAdminRequired