]> source.dussan.org Git - nextcloud-server.git/commit
Add option to disallow creation of local storages 30111/head
authorVincent Petry <vincent@nextcloud.com>
Mon, 6 Dec 2021 10:18:59 +0000 (11:18 +0100)
committerVincent Petry <vincent@nextcloud.com>
Wed, 15 Dec 2021 08:15:31 +0000 (09:15 +0100)
commitea302975526ba8fcb5abcca76daa6038439d053e
treef00714de6e983897719b98cb3c56ed5476156823
parenta47da9722dfaec8d83e9c8543ed0c31138a909da
Add option to disallow creation of local storages

Introduce a new config option to prevent web UI admins to create
or edit external storages of type "local".

Signed-off-by: Vincent Petry <vincent@nextcloud.com>
apps/files_external/js/settings.js
apps/files_external/lib/Controller/GlobalStoragesController.php
apps/files_external/lib/Controller/StoragesController.php
apps/files_external/lib/Controller/UserGlobalStoragesController.php
apps/files_external/lib/Controller/UserStoragesController.php
apps/files_external/templates/settings.php
apps/files_external/tests/Controller/GlobalStoragesControllerTest.php
apps/files_external/tests/Controller/StoragesControllerTest.php
apps/files_external/tests/Controller/UserStoragesControllerTest.php
config/config.sample.php