Skip to content

Admins can't edit mails of users if allow_user_to_change_display_name is set to false #14127

Closed

Description

@LukasReschke

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.

Activity

  1. added this to the milestone on Feb 11, 2015
  2. LukasReschke commented on Feb 11, 2015

    @LukasReschke
    ContributorAuthor
  3. LukasReschke commented on Feb 11, 2015

    @LukasReschke
    ContributorAuthor

    Or the error should make the reason more clear

  4. enoch85 commented on Feb 11, 2015

    @enoch85

    The logged in users can't change their email either, they are prompted with the same error "can't change email".

  5. snake2903 commented on Feb 12, 2015

    @snake2903

    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.

  6. MorrisJobke commented on Feb 12, 2015

    @MorrisJobke
    Contributor

    -.- 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.

  7. DeepDiver1975 commented on Feb 16, 2015

    @DeepDiver1975
    Contributor

    not really critical -> 8.1

  8. modified the milestones: , on Feb 16, 2015
  9. karlitschek commented on May 4, 2015

    @karlitschek
    Contributor

    @georgehrke In the mood for a nice junior job? :-)

  10. 16 remaining items

  11. PVince81 commented on Feb 25, 2016

    @PVince81
    Contributor

    We now have two conflicting PRs:

    Both require API changes which is bad after feature freeze...

  12. 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
  13. ghost added this to the milestone on Feb 26, 2016
  14. ghost removed this from the milestone on Feb 26, 2016
  15. removed their assignment
    on Apr 20, 2016
  16. PVince81 commented on Jun 7, 2016

    @PVince81
    Contributor

    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 ?

  17. modified the milestones: , on Jun 30, 2016
  18. DeepDiver1975 commented on Aug 29, 2016

    @DeepDiver1975
    Contributor

    the current behavior works as designed -> 9.2 will bring the user account table and any property can the be changed -> close

  19. lock commented on Aug 3, 2019

    @lock

    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.

  20. locked as resolved and limited conversation to collaborators on Aug 3, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions