diff options
author | Thomas Citharel <tcit@tcit.fr> | 2022-03-18 20:08:07 +0100 |
---|---|---|
committer | Thomas Citharel <tcit@tcit.fr> | 2022-05-16 22:54:51 +0200 |
commit | 4d26a9afa01aaf069e29a62f4e9547c34156ea01 (patch) | |
tree | 2a770baaafd304d48ea3485ef4b9d6db6509c05d /config | |
parent | ab0548e4edb1d2cf47718f752272d68aa6be07e2 (diff) | |
download | nextcloud-server-4d26a9afa01aaf069e29a62f4e9547c34156ea01.tar.gz nextcloud-server-4d26a9afa01aaf069e29a62f4e9547c34156ea01.zip |
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.php | 14 |
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' => [] ]; |