mirror of
https://github.com/nextcloud/server.git
synced 2026-04-20 22:00:39 -04:00
Merge pull request #21662 from owncloud/external-list-non-admin
Allow non admins to list their own mounts
This commit is contained in:
commit
f0c869d22e
1 changed files with 11 additions and 0 deletions
|
|
@ -62,6 +62,17 @@ class UserStoragesController extends StoragesController {
|
|||
);
|
||||
}
|
||||
|
||||
/**
|
||||
* Get all storage entries
|
||||
*
|
||||
* @NoAdminRequired
|
||||
*
|
||||
* @return DataResponse
|
||||
*/
|
||||
public function index() {
|
||||
return parent::index();
|
||||
}
|
||||
|
||||
/**
|
||||
* Return storage
|
||||
*
|
||||
|
|
|
|||
Loading…
Reference in a new issue