{"action":"created","issue":{"url":"https://api.github.com/repos/hubot-scripts/hubot-auth/issues/37","repository_url":"https://api.github.com/repos/hubot-scripts/hubot-auth","labels_url":"https://api.github.com/repos/hubot-scripts/hubot-auth/issues/37/labels{/name}","comments_url":"https://api.github.com/repos/hubot-scripts/hubot-auth/issues/37/comments","events_url":"https://api.github.com/repos/hubot-scripts/hubot-auth/issues/37/events","html_url":"https://github.com/hubot-scripts/hubot-auth/issues/37","id":164880299,"number":37,"title":"admin role did not assigned correctly on 1.3.0","user":{"login":"Ferrari","id":173408,"avatar_url":"https://avatars.githubusercontent.com/u/173408?v=3","gravatar_id":"","url":"https://api.github.com/users/Ferrari","html_url":"https://github.com/Ferrari","followers_url":"https://api.github.com/users/Ferrari/followers","following_url":"https://api.github.com/users/Ferrari/following{/other_user}","gists_url":"https://api.github.com/users/Ferrari/gists{/gist_id}","starred_url":"https://api.github.com/users/Ferrari/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Ferrari/subscriptions","organizations_url":"https://api.github.com/users/Ferrari/orgs","repos_url":"https://api.github.com/users/Ferrari/repos","events_url":"https://api.github.com/users/Ferrari/events{/privacy}","received_events_url":"https://api.github.com/users/Ferrari/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2016-07-11T16:34:41Z","updated_at":"2016-07-13T16:14:41Z","closed_at":null,"body":"After upgrade from 1.2  to 1.3, admin role seem not work correctly.\r\nI try both new variable `HUBOT_AUTH_ROLES=\"admin=USERID\"` and old one `HUBOT_AUTH_ADMIN=USERID` and both not work.\r\n\r\nbot always return `There are no people that have the 'admin' role`, I do see the log message show `WARNING The HUBOT_AUTH_ADMIN environment variable has been deprecated in favor of HUBOT_AUTH_ROLES` and both variable should still support on v1.3 (after I trace the source code).\r\n\r\nAny advice? Thanks\r\n\r\nps: I works perfect after I downgrade to v1.2."},"comment":{"url":"https://api.github.com/repos/hubot-scripts/hubot-auth/issues/comments/232406262","html_url":"https://github.com/hubot-scripts/hubot-auth/issues/37#issuecomment-232406262","issue_url":"https://api.github.com/repos/hubot-scripts/hubot-auth/issues/37","id":232406262,"user":{"login":"patcon","id":305339,"avatar_url":"https://avatars.githubusercontent.com/u/305339?v=3","gravatar_id":"","url":"https://api.github.com/users/patcon","html_url":"https://github.com/patcon","followers_url":"https://api.github.com/users/patcon/followers","following_url":"https://api.github.com/users/patcon/following{/other_user}","gists_url":"https://api.github.com/users/patcon/gists{/gist_id}","starred_url":"https://api.github.com/users/patcon/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/patcon/subscriptions","organizations_url":"https://api.github.com/users/patcon/orgs","repos_url":"https://api.github.com/users/patcon/repos","events_url":"https://api.github.com/users/patcon/events{/privacy}","received_events_url":"https://api.github.com/users/patcon/received_events","type":"User","site_admin":false},"created_at":"2016-07-13T16:14:41Z","updated_at":"2016-07-13T16:14:41Z","body":"Sorry about that @Ferrari!\r\n\r\n@nick-woodward as the person who submitted the PR, cane you support this? Any thoughts what the issue might be?\r\n\r\n @Ferrari I'm not using hubot-auth right now, so I'm not that useful here. If we def can't resolve it, and it seems a legit issue that others will hit, I'd consider reverting the changes. (but hopefully not!)"}}
{"actor":{"display_login":"patcon"}}