{"action":"created","issue":{"url":"https://api.github.com/repos/kubernetes/kubernetes/issues/28281","repository_url":"https://api.github.com/repos/kubernetes/kubernetes","labels_url":"https://api.github.com/repos/kubernetes/kubernetes/issues/28281/labels{/name}","comments_url":"https://api.github.com/repos/kubernetes/kubernetes/issues/28281/comments","events_url":"https://api.github.com/repos/kubernetes/kubernetes/issues/28281/events","html_url":"https://github.com/kubernetes/kubernetes/pull/28281","id":163129006,"number":28281,"title":"Return (bool, error) in Authorizer.Authorize()","user":{"login":"nhlfr","id":1553979,"avatar_url":"https://avatars.githubusercontent.com/u/1553979?v=3","gravatar_id":"","url":"https://api.github.com/users/nhlfr","html_url":"https://github.com/nhlfr","followers_url":"https://api.github.com/users/nhlfr/followers","following_url":"https://api.github.com/users/nhlfr/following{/other_user}","gists_url":"https://api.github.com/users/nhlfr/gists{/gist_id}","starred_url":"https://api.github.com/users/nhlfr/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nhlfr/subscriptions","organizations_url":"https://api.github.com/users/nhlfr/orgs","repos_url":"https://api.github.com/users/nhlfr/repos","events_url":"https://api.github.com/users/nhlfr/events{/privacy}","received_events_url":"https://api.github.com/users/nhlfr/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/kubernetes/kubernetes/labels/cla:%20yes","name":"cla: yes","color":"bfe5bf"},{"url":"https://api.github.com/repos/kubernetes/kubernetes/labels/release-note-none","name":"release-note-none","color":"c2e0c6"},{"url":"https://api.github.com/repos/kubernetes/kubernetes/labels/size/L","name":"size/L","color":"ee9900"}],"state":"open","locked":false,"assignee":{"login":"liggitt","id":980082,"avatar_url":"https://avatars.githubusercontent.com/u/980082?v=3","gravatar_id":"","url":"https://api.github.com/users/liggitt","html_url":"https://github.com/liggitt","followers_url":"https://api.github.com/users/liggitt/followers","following_url":"https://api.github.com/users/liggitt/following{/other_user}","gists_url":"https://api.github.com/users/liggitt/gists{/gist_id}","starred_url":"https://api.github.com/users/liggitt/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/liggitt/subscriptions","organizations_url":"https://api.github.com/users/liggitt/orgs","repos_url":"https://api.github.com/users/liggitt/repos","events_url":"https://api.github.com/users/liggitt/events{/privacy}","received_events_url":"https://api.github.com/users/liggitt/received_events","type":"User","site_admin":false},"assignees":[{"login":"liggitt","id":980082,"avatar_url":"https://avatars.githubusercontent.com/u/980082?v=3","gravatar_id":"","url":"https://api.github.com/users/liggitt","html_url":"https://github.com/liggitt","followers_url":"https://api.github.com/users/liggitt/followers","following_url":"https://api.github.com/users/liggitt/following{/other_user}","gists_url":"https://api.github.com/users/liggitt/gists{/gist_id}","starred_url":"https://api.github.com/users/liggitt/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/liggitt/subscriptions","organizations_url":"https://api.github.com/users/liggitt/orgs","repos_url":"https://api.github.com/users/liggitt/repos","events_url":"https://api.github.com/users/liggitt/events{/privacy}","received_events_url":"https://api.github.com/users/liggitt/received_events","type":"User","site_admin":false}],"milestone":null,"comments":10,"created_at":"2016-06-30T10:08:01Z","updated_at":"2016-07-08T13:11:03Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/kubernetes/kubernetes/pulls/28281","html_url":"https://github.com/kubernetes/kubernetes/pull/28281","diff_url":"https://github.com/kubernetes/kubernetes/pull/28281.diff","patch_url":"https://github.com/kubernetes/kubernetes/pull/28281.patch"},"body":"Before this change, Authorize() method was just returning an error, regardless of whether the user is unauthorized or whether there is some other unrelated error. Returning boolean with information about user authorization and error (which should be unrelated to the authorization) separately will make it easier to debug.\r\n\r\nFixes #27974"},"comment":{"url":"https://api.github.com/repos/kubernetes/kubernetes/issues/comments/231355216","html_url":"https://github.com/kubernetes/kubernetes/pull/28281#issuecomment-231355216","issue_url":"https://api.github.com/repos/kubernetes/kubernetes/issues/28281","id":231355216,"user":{"login":"liggitt","id":980082,"avatar_url":"https://avatars.githubusercontent.com/u/980082?v=3","gravatar_id":"","url":"https://api.github.com/users/liggitt","html_url":"https://github.com/liggitt","followers_url":"https://api.github.com/users/liggitt/followers","following_url":"https://api.github.com/users/liggitt/following{/other_user}","gists_url":"https://api.github.com/users/liggitt/gists{/gist_id}","starred_url":"https://api.github.com/users/liggitt/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/liggitt/subscriptions","organizations_url":"https://api.github.com/users/liggitt/orgs","repos_url":"https://api.github.com/users/liggitt/repos","events_url":"https://api.github.com/users/liggitt/events{/privacy}","received_events_url":"https://api.github.com/users/liggitt/received_events","type":"User","site_admin":false},"created_at":"2016-07-08T13:11:03Z","updated_at":"2016-07-08T13:11:03Z","body":"LGTM, thanks"}}
{"actor":{"display_login":"liggitt"}}