diff options
author | Robin Appelman <icewind@owncloud.com> | 2016-01-12 17:46:53 +0100 |
---|---|---|
committer | Robin Appelman <icewind@owncloud.com> | 2016-01-12 17:46:53 +0100 |
commit | b1a706999f637d7ed05516f2185e9a2f20a5934a (patch) | |
tree | d8370056a2eabbc256c290ffd9d771c54a0eda3c /apps/files_external/controller | |
parent | eac5d9fb3a52932fafdb200a2cf5d50fe9f1c759 (diff) | |
download | nextcloud-server-b1a706999f637d7ed05516f2185e9a2f20a5934a.tar.gz nextcloud-server-b1a706999f637d7ed05516f2185e9a2f20a5934a.zip |
Allow non admins to list their own mounts
Diffstat (limited to 'apps/files_external/controller')
-rw-r--r-- | apps/files_external/controller/userstoragescontroller.php | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/apps/files_external/controller/userstoragescontroller.php b/apps/files_external/controller/userstoragescontroller.php index 71d1f7cca46..a94b1dfa668 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 |