You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Admins can't edit mails of users if allow_user_to_change_display_name is set to false #14127
Had a little chat with @enoch85 and he couldn't change the mail of users even as admin. Turned out that he had allow_user_to_change_display_name set to false and from the code logic admins can't change the users email then.
We either need to allow it for admins or hide those settings in the UI.
I also have allow_user_to_change_display_name set to false and can't change e-mail address as admin. After seting to true, i can change email address as admin.
-.- This is because usually the "can change" permission is fetched from the backend (because there are read-only backends out there). It seems that this setting overwrites this functionality.
Both require API changes which is bad after feature freeze...
ghost changed the title [-]Admins can't edit mails of users is `allow_user_to_change_display_name` is set to false[/-][+]Admins can't edit mails of users if `allow_user_to_change_display_name` is set to false[/+]on Feb 26, 2016
ghost added this to the This milestone has been deleted milestone on Feb 26, 2016
ghost removed this from the This milestone has been deleted milestone on Feb 26, 2016
Activity
LukasReschke commentedon Feb 11, 2015
@MorrisJobke FYI
LukasReschke commentedon Feb 11, 2015
Or the error should make the reason more clear
enoch85 commentedon Feb 11, 2015
The logged in users can't change their email either, they are prompted with the same error "can't change email".
snake2903 commentedon Feb 12, 2015
I also have allow_user_to_change_display_name set to false and can't change e-mail address as admin. After seting to true, i can change email address as admin.
MorrisJobke commentedon Feb 12, 2015
-.- This is because usually the "can change" permission is fetched from the backend (because there are read-only backends out there). It seems that this setting overwrites this functionality.
DeepDiver1975 commentedon Feb 16, 2015
not really critical -> 8.1
karlitschek commentedon May 4, 2015
@georgehrke In the mood for a nice junior job? :-)
16 remaining items
PVince81 commentedon Feb 25, 2016
We now have two conflicting PRs:
Both require API changes which is bad after feature freeze...
[-]Admins can't edit mails of users is `allow_user_to_change_display_name` is set to false[/-][+]Admins can't edit mails of users if `allow_user_to_change_display_name` is set to false[/+]PVince81 commentedon Jun 7, 2016
Okay, so the two PRs got closed.
What approach should we use for this then ? Does the minimal fix cover enough of the requirements ?
What's the next step for the rest ?
DeepDiver1975 commentedon Aug 29, 2016
the current behavior works as designed -> 9.2 will bring the user account table and any property can the be changed -> close
lock commentedon Aug 3, 2019
This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.