diff options
author | Vincent Petry <vincent@nextcloud.com> | 2022-03-09 16:58:52 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-03-09 16:58:52 +0300 |
commit | 2bc25d5266eb5fb089ac6efda26f61e341577caa (patch) | |
tree | f55c3303fa12c2eed55bfbf66824e37a61c3b161 /config | |
parent | 16ebf8546b3928ab9212ec29f345694f0dd2d8d5 (diff) | |
parent | 99d16d9e474e70a648ce16b1a7ec5f5a97165ae4 (diff) |
Merge pull request #31481 from nextcloud/backport/30111/stable23
[stable23] Add option to disallow creation of local storages
Diffstat (limited to 'config')
-rw-r--r-- | config/config.sample.php | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/config/config.sample.php b/config/config.sample.php index ed718431a41..de19d27adee 100644 --- a/config/config.sample.php +++ b/config/config.sample.php @@ -1810,6 +1810,19 @@ $CONFIG = [ 'external_storage.auth_availability_delay' => 1800, /** + * Allows to create external storages of type "Local" in the web interface and APIs. + * + * When disable, it is still possible to create local storages with occ using + * the following command: + * + * % php occ files_external:create /mountpoint local null::null -c datadir=/path/to/data + * + * Defaults to ``true`` + * + */ +'files_external_allow_create_new_local' => true, + +/** * Specifies how often the local filesystem (the Nextcloud data/ directory, and * NFS mounts in data/) is checked for changes made outside Nextcloud. This * does not apply to external storage. |