-
-
Notifications
You must be signed in to change notification settings - Fork 4.2k
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
Allow to set email address to private independent of sharing settings #9638
Comments
Hey, this issue has been closed because the label (This is an automated comment from GitMate.io.) |
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
|
Hi, NC14 went by and the problem is still there. All users publish their mail adress per default and i don't see a way to change this default setting. At the current rate, to comply with GDPR, i have to tell users "you will share your contact information with everyone else using this cloud. Go to the settings menu To change that". Is there really no intention of fixing this? Or did we just terribly understand how to set up Nextcloud? Greetings |
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
@schiessle @ChristophWurst @blizzz what shall we do? Or do we still comply to the old setting a user had? |
Unchecking "Allow username autocompletion in share dialog. If this is disabled the full username or email address needs to be entered" would prevent unknown users/mail addresses to be shown. Otherwise there is no specific switch to disable only display of the mail address. I don't think extending the mentioned switch to the local instance as well would be a good idea, because in organisations it's rather normal that email addresses are known and should be displayed, but perhaps not exposed to the outside. |
So what do you reckon? Closing this? |
Hi there, thanks for replying again!
i think, nextcloud shall enable seamless teamwork while protecting the users data without trade-off, especially since nectcloud seems to be dedicated to communities. i would not want to share my email adress to all github-users, do you? noone would srsly say "you need to share you mail adress with all github users or you cannot interact with them". Greetings :-) |
Okay but think about a setting (maybe in a local club) where users should not see other e-mail addresses. Why I have the possibility to change the privacy setting when "Allow users to publish their data to a global and public address book" is active but when it's disabled I don't have this possibility? The value "Allow users to publish [...]" means to give the possibility to publish their data. If it's unchecked, it's published anyway... In my opinion the user needs to have the possibility to hide his email address. |
This comment has been minimized.
This comment has been minimized.
I think that's not only a nice to have feature, but actually a mandatory thing if you want to run nextcloud in any environment where not all users are using email addresses that the cloud provider is providing as well. Right now the only option to have Nextcloud working for a group with private email addresses is to disable the autocomplete function. While all it would take would be to have a setting to only allow searching (and display) of the username. |
|
THIS POST IS OLD. DON'T USE THIS SCRIPT ANYMORE! I helped myself by running this script after creating new users: This way, the email addresses of the users are not even shown on the same instance. It basically does the same as the users can do for themselves by setting their email address to private. |
Would it be possible to have an option in nextcloud settings that do the same as |
and one that put email address as private by default to new users. They are free to set it to public or not... |
I just saw the update info for the current releases and couldn't believe that the developers actually did the opposite of what's requested here and legally required - namely, they made the email address show up in the contacts menu not only in the hover title text, but print it out right next to the user name. But why? ... This is pretty disappointing. Did I overlook any new settings to disable it that come along with this update? The MR that was supposed to fix this has just been closed, and the fix branch was deleted. |
This comment has been minimized.
This comment has been minimized.
Yes, it's really insane that there is still no simple setting to turn off that data leakage. Right now the best way is patching if (isset($contact['EMAIL'])) {
foreach ($contact['EMAIL'] as $email) {
//$entry->addEMailAddress($email);
}
} additionally in /var/www/nextcloud/lib/private/Profile/ProfileManager.php this line should be commented, so the email address is not leaked from the profile page: /**
* Array of account property actions
*/
private const ACCOUNT_PROPERTY_ACTIONS = [
//EmailAction::class, <--- this one
PhoneAction::class,
WebsiteAction::class,
TwitterAction::class,
]; |
@schiessle imagine having an organization with a a lot of volunteers and their respective private email-addresses, it would be desired to not "publish" their email addresses to one another. Yet they should have the chance to get notifications, and event invitations.. |
That stills without dirty workaround? We use open-source to make a really collaborative space not a closed one like Exchange or wathever. Yes, we respect our privacy doing that way. |
FYI: 23.0.12 still needs the patch or rather dirty hack I posted a few posts back to not violate the DSGVO. |
we are on NC 25.0.6 and have this annoying problem since years. I am editing 6 files by hand after each update to hide email adresses. So i was hoping your script makes this easer for us after an update. But it has no effect. In oc_accounts there is the entry "scope":"v2-local". Your script sets this to "private" but it has no effect, the email is still showing up in share dialogs etc. You say "does the same as the users can do " - in NC 25.0.6 i find no way for a user to make the email private, only the options "Only visible to people on this instance and guests" or "Only synchronize to trusted servers". Did i miss something or is this feature to set it private gone since you wrote this post? |
Well, yes. Things have changed since then. I am running two instances which are on version 26.0.01. It seems that my script should be changed so that it changes this entry. Unfortunately this record is not created when a user is created but rather later on demand. I'd have to figure out when it gets created. What would be even better is, if we could configure that similar to the default_property_scope as documented in here: https://docs.nextcloud.com/server/latest/admin_manual/configuration_user/profile_configuration.html#property-scopes |
i made a clone and updated to 26.0.1. But the situation is exactly the same. What you wrote in your reply affects only the profile page. But e.g. in sharing dialogs, when you search for a user it still displays the email address, even if is set it to "Hide" in "Profile visibility". I show you one of the places in sourcecode i edit after each update as an example. Here it is lib/private/Collaboration/Collaborators/UserPlugin.php line 196 $result['exact'][] = [
'label' => $userDisplayName,
'subline' => $status['message'] ?? '',
'icon' => 'icon-user',
'value' => [
'shareType' => IShare::TYPE_USER,
'shareWith' => $uid,
],
'shareWithDisplayNameUnique' => !empty($userEmail) ? $userEmail : $uid,
'status' => $status,
]; I always change the line
|
In Nextcloud 27, the option was added to prevent access to the system address book but still allow exact matching of names or emails. This finally allows usage of NC in situations where you cannot leak email addresses between all users without patches. Compare https://docs.nextcloud.com/server/latest/admin_manual/groupware/contacts.html#system-address-book |
What files do you editing? I have the same issue on my school. |
see my post above, there i listed the files:
|
Thank you very much! I have removed almost all places where email addresses are visible. They only appear when “sharing” a file. |
i wrote a script in php to go through all files. Here are the numbers:
and here are the replace routines:
And:
good luck goin DSGVO conform with nextcloud! |
but this is now for NC 30 |
I removed Nextcloud because of this. It's against their own core principles. |
Do you have an another solution? Owncloud? |
I'm hosting File Browser, Mattermost and webmail from the provider. I miss Nextcloud but privacy matters and that's a very big red flag to me. |
its a 2018 issue, switched back to owncloud years ago because noone really cares about theese issues. |
Steps to reproduce
Expected behaviour
The option for Private/Contacts should appear always
Actual behaviour
The option disappears while the "Public"-option disappears.
The problem is that users can see the email address of other users in the contacts menu.
Video for lazy guys:
privacysettings.zip
Reference:
help.nextcloud.com
Server configuration
Nextcloud version: 13.0.2
Updated from an older Nextcloud/ownCloud or fresh install: demo.nextcloud.com=N/A; own Nextcloud=updated
Where did you install Nextcloud from: tar
Signing status:
Signing status
No integrity collision
Are you using encryption: no
Are you using an external user-backend, if yes which one: no
Client configuration
Browser: FF 60.0.1
Operating system: Win10.1709
Logs
Web server error log
Web server error log
No log on demo.nextcloud.com
The text was updated successfully, but these errors were encountered: