]> source.dussan.org Git - nextcloud-server.git/commitdiff
Allow non admins to list their own mounts
authorRobin Appelman <icewind@owncloud.com>
Tue, 12 Jan 2016 16:46:53 +0000 (17:46 +0100)
committerRobin Appelman <icewind@owncloud.com>
Tue, 12 Jan 2016 16:46:53 +0000 (17:46 +0100)
apps/files_external/controller/userstoragescontroller.php

index 71d1f7cca46b48437dcbc7d7cdadfece13fd4a96..a94b1dfa66833cd94b963706b2ee6745b8022844 100644 (file)
@@ -62,6 +62,17 @@ class UserStoragesController extends StoragesController {
                );
        }
 
+       /**
+        * Get all storage entries
+        *
+        * @NoAdminRequired
+        *
+        * @return DataResponse
+        */
+       public function index() {
+               return parent::index();
+       }
+
        /**
         * Return storage
         *