-
-
Notifications
You must be signed in to change notification settings - Fork 4.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Sharing dropdown leaks email addresses of users in other groups #6530
Comments
Will this be fixed in NC12 ? |
Yes, once fixed for Nextcloud 13 it should be backported to Nextcloud 12. |
This is the same bug which caused #7428 and is fixed in Nextcloud 12.0.5 and NC 13 beta 4. |
Sorry for reopening, but I just noticed that the dropdown still leaks data on nextcloud 12.05 It still autocompletes usernames (LDAP) even though autocompletion has been disabled in sharing settings. |
When a user has an email address set in her profile users in other groups can see her full name and email address through the sharing dropdown of the details view of the Files app even if "Restrict users to only share with users in their groups" is enabled in the "Sharing" section of the administration settings.
It seems that getEmail in apps/files_sharing/lib/Controller/ShareesAPIController.php does not honour the shareapi_only_share_with_group_members configuration value.
Steps to reproduce
Expected behaviour
No result appears in the sharing dropdown (like what happens after #5585 if full or mail is typed in the contacts menu instead).
Actual behaviour
In both cases, "group1-fullname1 ([email protected])" appears in the dropdown, although that user belongs to a different group than the current user.
The text was updated successfully, but these errors were encountered: