Did the moderator rights change in de latest update? (2.2.0 beta6 +76)
We enter our member details into our CRM, including e-mail address. The e-mail address is no longer visible in the member profile for a user with moderator rights.
Is there a way to view the e-mail address for a moderator?
Sort of. We removed the ability for moderators to view email addresses many updates ago (early 2018 if I recall correctly), but missed a spot (the user list in /admin). This was addressed in the most recent upgrade.
No, not at the moment. We had numerous requests for moderators to not be able to view emails. The requests were generally due to privacy concerns: some sites have moderators who are community volunteers, or otherwise not part of the company running the forums. Users of the forums consented to the company running the forum seeing their email, but not volunteers who are not subject to privacy rules and guidelines that a company employee would be.
So, the Show Emails button still exists for the Admin Users page, but clicking it does nothing as a moderator, though it still logs the action in the Logs. The emails do not become visible. This feels broken to me.
It works on the Admin > User page and the Public User page though.
Testing on Sitepoint? You don’t have the commit yet…
Actually, looking at the deploy logs, most hosted sites don’t have it yet. Didn’t want to deploy too close to the holidays with most of the team off…
Your initial thought was correct. Can you confirm that the site setting moderators_view_emails is enabled on your sandbox. With that setting disabled (default) as a moderator I cannot see emails anywhere. With the setting enabled, the “show emails” button reappears for mods, clicking it on the admin user list does not reveal emails, but clicking it on admin user page and user profile does reveal it. Oddly enough clicking on the button in user preferences also doesn’t work.
This is indeed confusing, inconsistent, and the setting’s description isn’t exactly clear. @codinghorror, two suggestions:
Fix the site setting moderators_view_emails so that it matches it’s description. It should only show the “show email” button on a user’s profile page, nothing else.
Add a boolean site setting for moderator view email. When enabled, mods can access emails everywhere admins can. When disabled (default), no email access regardless of other settings.
#1 seems more pressing (the setting adds broken buttons for moderators), #2 could perhaps be a 2.3 feature? It has been requested a few times since we started hiding emails from moderators.
Isn’t there a third option here, to edit the copy for the setting (and fix any bugs) so it reflects the intent, which is show email to moderators on profile?
That wasn’t my understanding of the intent of the setting though. By default email is only shown on the user preferences page (/u/my/preferences) and to admins on the admin user page (/admin/users/{user_id}) - this setting shows it on the profile page (/u/my/summary) alongside the stats like join date, last seen, last posted, etc.
I wouldn’t personally object to changing the intent of the setting, but I don’t know the history of why this setting exists…
If you don’t know the history of the setting how do you know the intent? What I remember is the intent, which I thought was to allow moderators to see emails.
Thank you all for looking into this. I didn’t completely understand everything, but I did enable the option “show email on profile” and the moderators are able to see the e-mail address again. So that works for us.
Sure, I can update the copy here. So this setting, when enabled, should allow mods to view emails? Should it work only on their profile, or everywhere?
At the moment, with this setting enabled mods can see 4 show email buttons. 2 work, 2 don’t.
/admin/users/{user_id}: shows email and logs check email with context.
/u/{username}/summary: shows email and logs check email with context.
/admin/users/list: does not show emails, does log check email without context. Reloads list of users.
/u/{username}/preferences: does not show email, does not log check email. Reloads entire page (including header).