{"action":"created","issue":{"url":"https://api.github.com/repos/nextcloud/server/issues/642","repository_url":"https://api.github.com/repos/nextcloud/server","labels_url":"https://api.github.com/repos/nextcloud/server/issues/642/labels{/name}","comments_url":"https://api.github.com/repos/nextcloud/server/issues/642/comments","events_url":"https://api.github.com/repos/nextcloud/server/issues/642/events","html_url":"https://github.com/nextcloud/server/issues/642","id":168257084,"number":642,"title":"disable allow_user_to_change_display_name, admin can't change name in user panel","user":{"login":"focparty","id":19322544,"avatar_url":"https://avatars.githubusercontent.com/u/19322544?v=3","gravatar_id":"","url":"https://api.github.com/users/focparty","html_url":"https://github.com/focparty","followers_url":"https://api.github.com/users/focparty/followers","following_url":"https://api.github.com/users/focparty/following{/other_user}","gists_url":"https://api.github.com/users/focparty/gists{/gist_id}","starred_url":"https://api.github.com/users/focparty/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/focparty/subscriptions","organizations_url":"https://api.github.com/users/focparty/orgs","repos_url":"https://api.github.com/users/focparty/repos","events_url":"https://api.github.com/users/focparty/events{/privacy}","received_events_url":"https://api.github.com/users/focparty/received_events","type":"User","site_admin":false},"labels":[{"id":386379233,"url":"https://api.github.com/repos/nextcloud/server/labels/enhancement","name":"enhancement","color":"0e8a16","default":true}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":{"url":"https://api.github.com/repos/nextcloud/server/milestones/10","html_url":"https://github.com/nextcloud/server/milestones/Nextcloud%2012.0","labels_url":"https://api.github.com/repos/nextcloud/server/milestones/10/labels","id":2136652,"number":10,"title":"Nextcloud 12.0","description":null,"creator":{"login":"jancborchardt","id":925062,"avatar_url":"https://avatars.githubusercontent.com/u/925062?v=3","gravatar_id":"","url":"https://api.github.com/users/jancborchardt","html_url":"https://github.com/jancborchardt","followers_url":"https://api.github.com/users/jancborchardt/followers","following_url":"https://api.github.com/users/jancborchardt/following{/other_user}","gists_url":"https://api.github.com/users/jancborchardt/gists{/gist_id}","starred_url":"https://api.github.com/users/jancborchardt/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jancborchardt/subscriptions","organizations_url":"https://api.github.com/users/jancborchardt/orgs","repos_url":"https://api.github.com/users/jancborchardt/repos","events_url":"https://api.github.com/users/jancborchardt/events{/privacy}","received_events_url":"https://api.github.com/users/jancborchardt/received_events","type":"User","site_admin":false},"open_issues":84,"closed_issues":0,"state":"open","created_at":"2016-11-15T13:57:13Z","updated_at":"2016-12-06T16:45:34Z","due_on":null,"closed_at":null},"comments":3,"created_at":"2016-07-29T06:06:26Z","updated_at":"2016-12-07T10:48:30Z","closed_at":null,"body":"### Steps to reproduce\n1. allow_user_to_change_display_name=false in config.php\n2. user panel: changing name, doesnt save\n### Expected behaviour\n\nadmin should be able to change user name\n### Actual behaviour\n\nsee point 2. \n### Server configuration\n\n**Operating system**: OVH shared hosting\n\n**Web server:**  OVH shared hosting\n\n**Database:** mysql\n\n**PHP version:** 5.6\n\n**Nextcloud version:** (see Nextcloud admin page) 9.0.53\n\n**Updated from an older Nextcloud/ownCloud or fresh install:** new install\n\n**Where did you install Nextcloud from:** nextcloud\n"},"comment":{"url":"https://api.github.com/repos/nextcloud/server/issues/comments/265416121","html_url":"https://github.com/nextcloud/server/issues/642#issuecomment-265416121","issue_url":"https://api.github.com/repos/nextcloud/server/issues/642","id":265416121,"user":{"login":"GitHubUser4234","id":16538178,"avatar_url":"https://avatars.githubusercontent.com/u/16538178?v=3","gravatar_id":"","url":"https://api.github.com/users/GitHubUser4234","html_url":"https://github.com/GitHubUser4234","followers_url":"https://api.github.com/users/GitHubUser4234/followers","following_url":"https://api.github.com/users/GitHubUser4234/following{/other_user}","gists_url":"https://api.github.com/users/GitHubUser4234/gists{/gist_id}","starred_url":"https://api.github.com/users/GitHubUser4234/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/GitHubUser4234/subscriptions","organizations_url":"https://api.github.com/users/GitHubUser4234/orgs","repos_url":"https://api.github.com/users/GitHubUser4234/repos","events_url":"https://api.github.com/users/GitHubUser4234/events{/privacy}","received_events_url":"https://api.github.com/users/GitHubUser4234/received_events","type":"User","site_admin":false},"created_at":"2016-12-07T10:48:30Z","updated_at":"2016-12-07T10:48:30Z","body":"As #1302 has been closed as duplicate of this issue, I'd like to throw in my support for enabling email modification independently from `OC_User::canUserChangeDisplayName`. There are in fact use cases where changing the display name should be disabled while changing email should be enabled.\r\n\r\nAfter some discussion with @blizzz , it might be necessary to consider that user_ldap overwrites the email value in `oc_preferences` in case emails are present in LDAP. So for example the user_ldap  backend could provide the email set-ability depending on whether an LDAP email attribute is set or not.\r\n\r\n@MorrisJobke It would be great to know what you have in mind about how to implement this :)"}}
{"actor":{"display_login":"GitHubUser4234"}}