{"action":"created","issue":{"url":"https://api.github.com/repos/davido/gerrit-oauth-provider/issues/27","labels_url":"https://api.github.com/repos/davido/gerrit-oauth-provider/issues/27/labels{/name}","comments_url":"https://api.github.com/repos/davido/gerrit-oauth-provider/issues/27/comments","events_url":"https://api.github.com/repos/davido/gerrit-oauth-provider/issues/27/events","html_url":"https://github.com/davido/gerrit-oauth-provider/issues/27","id":69679524,"number":27,"title":"OAuth users cannot see any Gerrit group","user":{"login":"dmikurube","id":723722,"avatar_url":"https://avatars.githubusercontent.com/u/723722?v=3","gravatar_id":"","url":"https://api.github.com/users/dmikurube","html_url":"https://github.com/dmikurube","followers_url":"https://api.github.com/users/dmikurube/followers","following_url":"https://api.github.com/users/dmikurube/following{/other_user}","gists_url":"https://api.github.com/users/dmikurube/gists{/gist_id}","starred_url":"https://api.github.com/users/dmikurube/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dmikurube/subscriptions","organizations_url":"https://api.github.com/users/dmikurube/orgs","repos_url":"https://api.github.com/users/dmikurube/repos","events_url":"https://api.github.com/users/dmikurube/events{/privacy}","received_events_url":"https://api.github.com/users/dmikurube/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-04-20T21:03:40Z","updated_at":"2015-04-21T07:32:31Z","closed_at":null,"body":"I installed the plugin on Gerrit 2.11, and created a new user through OAuth. At that time, even if I added the user to an Administrator group, the user doesn't behave as an Administrator. \"People\" -> \"List Groups\" shows nothing for that user.\r\n\r\nI'm not sure whether this issue is on Gerrit-side or on plugin-side, but please let me just report it...\r\n\r\n----\r\n\r\nSome additional tries:\r\n\r\nI directly manipulated the table \"account_external_ids\" in Gerrit's internal DB. I added a new row with an OAuth external_id to an existing Administrator user, the user doesn't work as an Administrator. Once I removed the row, the user got back as an Administrator."},"comment":{"url":"https://api.github.com/repos/davido/gerrit-oauth-provider/issues/comments/94670892","html_url":"https://github.com/davido/gerrit-oauth-provider/issues/27#issuecomment-94670892","issue_url":"https://api.github.com/repos/davido/gerrit-oauth-provider/issues/27","id":94670892,"user":{"login":"davido","id":347173,"avatar_url":"https://avatars.githubusercontent.com/u/347173?v=3","gravatar_id":"","url":"https://api.github.com/users/davido","html_url":"https://github.com/davido","followers_url":"https://api.github.com/users/davido/followers","following_url":"https://api.github.com/users/davido/following{/other_user}","gists_url":"https://api.github.com/users/davido/gists{/gist_id}","starred_url":"https://api.github.com/users/davido/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/davido/subscriptions","organizations_url":"https://api.github.com/users/davido/orgs","repos_url":"https://api.github.com/users/davido/repos","events_url":"https://api.github.com/users/davido/events{/privacy}","received_events_url":"https://api.github.com/users/davido/received_events","type":"User","site_admin":false},"created_at":"2015-04-21T07:32:31Z","updated_at":"2015-04-21T07:32:31Z","body":"Have you checked #4 and suggested solution?"}}