diff options
author | Julius Härtl <jus@bitgrid.net> | 2020-02-18 19:42:57 +0100 |
---|---|---|
committer | Julius Härtl <jus@bitgrid.net> | 2020-03-20 10:43:55 +0100 |
commit | 381decca493ffbdec9356142a02b5a3edb8284d9 (patch) | |
tree | ac56ef9ad4a930857e15efec5a2c9eceaea22bbc /apps/settings/lib | |
parent | 53a300dd8c5d02513224e5e75962b25a6524b16f (diff) | |
download | nextcloud-server-381decca493ffbdec9356142a02b5a3edb8284d9.tar.gz nextcloud-server-381decca493ffbdec9356142a02b5a3edb8284d9.zip |
Add setting to restrict user enumeration to groups
Signed-off-by: Julius Härtl <jus@bitgrid.net>
Diffstat (limited to 'apps/settings/lib')
-rw-r--r-- | apps/settings/lib/Settings/Admin/Sharing.php | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/apps/settings/lib/Settings/Admin/Sharing.php b/apps/settings/lib/Settings/Admin/Sharing.php index 495af9d5375..980e579d360 100644 --- a/apps/settings/lib/Settings/Admin/Sharing.php +++ b/apps/settings/lib/Settings/Admin/Sharing.php @@ -73,6 +73,7 @@ class Sharing implements ISettings { 'allowPublicUpload' => $this->config->getAppValue('core', 'shareapi_allow_public_upload', 'yes'), 'allowResharing' => $this->config->getAppValue('core', 'shareapi_allow_resharing', 'yes'), 'allowShareDialogUserEnumeration' => $this->config->getAppValue('core', 'shareapi_allow_share_dialog_user_enumeration', 'yes'), + 'restrictUserEnumerationToGroup' => $this->config->getAppValue('core', 'shareapi_restrict_user_enumeration_to_group', 'no'), 'enforceLinkPassword' => Util::isPublicLinkPasswordRequired(), 'onlyShareWithGroupMembers' => $this->shareManager->shareWithGroupMembersOnly(), 'shareAPIEnabled' => $this->config->getAppValue('core', 'shareapi_enabled', 'yes'), |