{"action":"opened","issue":{"url":"https://api.github.com/repos/owncloud/core/issues/14127","labels_url":"https://api.github.com/repos/owncloud/core/issues/14127/labels{/name}","comments_url":"https://api.github.com/repos/owncloud/core/issues/14127/comments","events_url":"https://api.github.com/repos/owncloud/core/issues/14127/events","html_url":"https://github.com/owncloud/core/issues/14127","id":57389948,"number":14127,"title":"Admins can't edit mails of users is `allow_user_to_change_display_name` is set to false","user":{"login":"LukasReschke","id":878997,"avatar_url":"https://avatars.githubusercontent.com/u/878997?v=3","gravatar_id":"","url":"https://api.github.com/users/LukasReschke","html_url":"https://github.com/LukasReschke","followers_url":"https://api.github.com/users/LukasReschke/followers","following_url":"https://api.github.com/users/LukasReschke/following{/other_user}","gists_url":"https://api.github.com/users/LukasReschke/gists{/gist_id}","starred_url":"https://api.github.com/users/LukasReschke/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/LukasReschke/subscriptions","organizations_url":"https://api.github.com/users/LukasReschke/orgs","repos_url":"https://api.github.com/users/LukasReschke/repos","events_url":"https://api.github.com/users/LukasReschke/events{/privacy}","received_events_url":"https://api.github.com/users/LukasReschke/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/owncloud/core/labels/bug","name":"bug","color":"fc2929"},{"url":"https://api.github.com/repos/owncloud/core/labels/Regression","name":"Regression","color":"e11d21"},{"url":"https://api.github.com/repos/owncloud/core/labels/settings:users","name":"settings:users","color":"02d7e1"}],"state":"open","locked":false,"assignee":null,"milestone":{"url":"https://api.github.com/repos/owncloud/core/milestones/32","labels_url":"https://api.github.com/repos/owncloud/core/milestones/32/labels","id":955004,"number":32,"title":"8.0.1-next-maintenance","description":"","creator":{"login":"craigpg","id":160667,"avatar_url":"https://avatars.githubusercontent.com/u/160667?v=3","gravatar_id":"","url":"https://api.github.com/users/craigpg","html_url":"https://github.com/craigpg","followers_url":"https://api.github.com/users/craigpg/followers","following_url":"https://api.github.com/users/craigpg/following{/other_user}","gists_url":"https://api.github.com/users/craigpg/gists{/gist_id}","starred_url":"https://api.github.com/users/craigpg/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/craigpg/subscriptions","organizations_url":"https://api.github.com/users/craigpg/orgs","repos_url":"https://api.github.com/users/craigpg/repos","events_url":"https://api.github.com/users/craigpg/events{/privacy}","received_events_url":"https://api.github.com/users/craigpg/received_events","type":"User","site_admin":false},"open_issues":43,"closed_issues":6,"state":"open","created_at":"2015-01-28T14:58:27Z","updated_at":"2015-02-11T22:49:31Z","due_on":null,"closed_at":null},"comments":0,"created_at":"2015-02-11T22:49:30Z","updated_at":"2015-02-11T22:49:30Z","closed_at":null,"body":"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.\r\n\r\nWe either need to allow it for admins or hide those in the UI."}}