{"action":"created","issue":{"url":"https://api.github.com/repos/hackmdio/hackmd/issues/750","repository_url":"https://api.github.com/repos/hackmdio/hackmd","labels_url":"https://api.github.com/repos/hackmdio/hackmd/issues/750/labels{/name}","comments_url":"https://api.github.com/repos/hackmdio/hackmd/issues/750/comments","events_url":"https://api.github.com/repos/hackmdio/hackmd/issues/750/events","html_url":"https://github.com/hackmdio/hackmd/pull/750","id":301557712,"number":750,"title":"Use ldap.usernameField over hardcoded uid fields","user":{"login":"fooker","id":405105,"avatar_url":"https://avatars1.githubusercontent.com/u/405105?v=4","gravatar_id":"","url":"https://api.github.com/users/fooker","html_url":"https://github.com/fooker","followers_url":"https://api.github.com/users/fooker/followers","following_url":"https://api.github.com/users/fooker/following{/other_user}","gists_url":"https://api.github.com/users/fooker/gists{/gist_id}","starred_url":"https://api.github.com/users/fooker/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/fooker/subscriptions","organizations_url":"https://api.github.com/users/fooker/orgs","repos_url":"https://api.github.com/users/fooker/repos","events_url":"https://api.github.com/users/fooker/events{/privacy}","received_events_url":"https://api.github.com/users/fooker/received_events","type":"User","site_admin":false},"labels":[{"id":207246659,"url":"https://api.github.com/repos/hackmdio/hackmd/labels/enhancement","name":"enhancement","color":"84b6eb","default":true}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-03-01T21:00:36Z","updated_at":"2018-03-01T21:46:44Z","closed_at":null,"author_association":"CONTRIBUTOR","pull_request":{"url":"https://api.github.com/repos/hackmdio/hackmd/pulls/750","html_url":"https://github.com/hackmdio/hackmd/pull/750","diff_url":"https://github.com/hackmdio/hackmd/pull/750.diff","patch_url":"https://github.com/hackmdio/hackmd/pull/750.patch"},"body":"In our environment we don't have `uid` set on users. This leads to all users share the same profile called `LDAP-undefined`.\r\n\r\nThis fixes this under the assumption that usernames are unique anyways. "},"comment":{"url":"https://api.github.com/repos/hackmdio/hackmd/issues/comments/369741966","html_url":"https://github.com/hackmdio/hackmd/pull/750#issuecomment-369741966","issue_url":"https://api.github.com/repos/hackmdio/hackmd/issues/750","id":369741966,"user":{"login":"fooker","id":405105,"avatar_url":"https://avatars1.githubusercontent.com/u/405105?v=4","gravatar_id":"","url":"https://api.github.com/users/fooker","html_url":"https://github.com/fooker","followers_url":"https://api.github.com/users/fooker/followers","following_url":"https://api.github.com/users/fooker/following{/other_user}","gists_url":"https://api.github.com/users/fooker/gists{/gist_id}","starred_url":"https://api.github.com/users/fooker/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/fooker/subscriptions","organizations_url":"https://api.github.com/users/fooker/orgs","repos_url":"https://api.github.com/users/fooker/repos","events_url":"https://api.github.com/users/fooker/events{/privacy}","received_events_url":"https://api.github.com/users/fooker/received_events","type":"User","site_admin":false},"created_at":"2018-03-01T21:46:44Z","updated_at":"2018-03-01T21:46:44Z","author_association":"CONTRIBUTOR","body":"Good point. Should the setting fall back to the default of `user.uidNumber || user.uid || user.sAMAccountName` or should it be a required field like username is?"}}
{"actor":{"display_login":"fooker"}}