Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/server.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/config
diff options
context:
space:
mode:
authorVincent Petry <vincent@nextcloud.com>2022-03-09 16:58:52 +0300
committerGitHub <noreply@github.com>2022-03-09 16:58:52 +0300
commit2bc25d5266eb5fb089ac6efda26f61e341577caa (patch)
treef55c3303fa12c2eed55bfbf66824e37a61c3b161 /config
parent16ebf8546b3928ab9212ec29f345694f0dd2d8d5 (diff)
parent99d16d9e474e70a648ce16b1a7ec5f5a97165ae4 (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.php13
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.