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:
authorThomas Citharel <tcit@tcit.fr>2022-03-18 22:08:07 +0300
committerThomas Citharel <tcit@tcit.fr>2022-05-16 23:54:51 +0300
commit4d26a9afa01aaf069e29a62f4e9547c34156ea01 (patch)
tree2a770baaafd304d48ea3485ef4b9d6db6509c05d /config
parentab0548e4edb1d2cf47718f752272d68aa6be07e2 (diff)
Allow to tweak default scopes for accounts
Close #6582 Signed-off-by: Thomas Citharel <tcit@tcit.fr>
Diffstat (limited to 'config')
-rw-r--r--config/config.sample.php14
1 files changed, 14 insertions, 0 deletions
diff --git a/config/config.sample.php b/config/config.sample.php
index bf6643458fa..c3a0048625c 100644
--- a/config/config.sample.php
+++ b/config/config.sample.php
@@ -2168,4 +2168,18 @@ $CONFIG = [
* the database storage.
*/
'enable_file_metadata' => true,
+
+/**
+ * Allows to override the default scopes for Account data.
+ * The list of overridable properties and valid values for scopes are in
+ * OCP\Accounts\IAccountManager. Values added here are merged with
+ * default values, which are in OC\Accounts\AccountManager
+ *
+ * For instance, if the phone property should default to the private scope
+ * instead of the local one:
+ * [
+ * \OCP\Accounts\IAccountManager::PROPERTY_PHONE => \OCP\Accounts\IAccountManager::SCOPE_PRIVATE
+ * ]
+ */
+'account_manager.default_property_scope' => []
];