participedia / frontend

DEPRECATED - see https://github.com/participedia/api/ instead
MIT License
2 stars 2 forks source link

Admin tools: view user email addresses #786

Open scottofletcher opened 6 years ago

scottofletcher commented 6 years ago

View user email addresses on profile page.

Per #672

jesicarson commented 6 years ago

Does this have to be on the profile page? Probably just having admins be able to view the entire profile edit form for any account would work. Or maybe that’s what you meant by this. Just thinking to not add any design elements to the front facing page for simplicity (esp if only for admins). Really all you need is for admins to be able to view and change any user entered profile info right? (Except not view password, only change) So access to the form should be sufficient. Ignore me if you know all this already or have another plan :)

scottofletcher commented 6 years ago

What Jesi said!

jesicarson commented 6 years ago

General question for admins, aka @scottofletcher: Would you prefer it if admin buttons / tools that are not user facing used a different colour or visual system to indicate that they're admin tools? I could see it maybe being useful, but also maybe not needed.

If not, the easiest way for admins to access users profile information would simply be to see the edit profile button on EVERY user page, including their own. So, @dethe could just use the existing button design (from https://github.com/participedia/frontend/issues/655):

option1_public_view copy 2

NOTE, I still need to provide a visual spec for users to edit their own email addresses and passwords, https://github.com/participedia/frontend/issues/870, which would be applicable to this issue (next step after clicking the button, revealing the form - possibly different than user view for admins, because you could override an existing password / not have to enter an existing password to create a new one).

scottofletcher commented 6 years ago

So for the question about the different colours: does that apply to all admin tools or just the ability to see user emails? Might be nice if the admin fields were different / stood out from the usual data fields (eg. Originally Submitted By vs General Topics - the former only being editable by admins).

For the 'edit profile' button being used by admins to see user emails: can we actually edit anything or does the edit button just show us the email addresses? If we're going to go with just the existing edit button (which sounds like it'll save time), my comment above^ applies (ie. would be nice if it was a different colour / stood out from the edit button on my own profile which other users have on theirs)

jesicarson commented 6 years ago

Thanks for your feedback scott.

Yes I was thinking for all admin tools, something to distinguish them. Maybe a little "A" icon.. I will think about this. The toggles for featured/ hidden don't have any distinguishing features other than there are no other toggles on the site...

Anyway, yes, full admins can actually edit stuff in user profiles on .net. I can change anything I want on any user account (name, bio, email, password, language, etc.) but any of that would only be done upon request by that user, which almost never happens. I have had to go in and update users email addresses, if for example they finished school a few years ago and no longer have access to an academic email address.