{"action":"created","issue":{"url":"https://api.github.com/repos/bolt/bolt/issues/2925","labels_url":"https://api.github.com/repos/bolt/bolt/issues/2925/labels{/name}","comments_url":"https://api.github.com/repos/bolt/bolt/issues/2925/comments","events_url":"https://api.github.com/repos/bolt/bolt/issues/2925/events","html_url":"https://github.com/bolt/bolt/pull/2925","id":58760988,"number":2925,"title":"Fix permissions check","user":{"login":"CarsonF","id":932566,"avatar_url":"https://avatars.githubusercontent.com/u/932566?v=3","gravatar_id":"","url":"https://api.github.com/users/CarsonF","html_url":"https://github.com/CarsonF","followers_url":"https://api.github.com/users/CarsonF/followers","following_url":"https://api.github.com/users/CarsonF/following{/other_user}","gists_url":"https://api.github.com/users/CarsonF/gists{/gist_id}","starred_url":"https://api.github.com/users/CarsonF/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/CarsonF/subscriptions","organizations_url":"https://api.github.com/users/CarsonF/orgs","repos_url":"https://api.github.com/users/CarsonF/repos","events_url":"https://api.github.com/users/CarsonF/events{/privacy}","received_events_url":"https://api.github.com/users/CarsonF/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-02-24T16:13:01Z","updated_at":"2015-02-24T16:36:42Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/bolt/bolt/pulls/2925","html_url":"https://github.com/bolt/bolt/pull/2925","diff_url":"https://github.com/bolt/bolt/pull/2925.diff","patch_url":"https://github.com/bolt/bolt/pull/2925.patch"},"body":"Derped. checkPermission wants current user's roles not current user.\r\n\r\nThis wouldn't happen if we had actual classes and not arrays. 2.2 can't come soon enough :)"},"comment":{"url":"https://api.github.com/repos/bolt/bolt/issues/comments/75791669","html_url":"https://github.com/bolt/bolt/pull/2925#issuecomment-75791669","issue_url":"https://api.github.com/repos/bolt/bolt/issues/2925","id":75791669,"user":{"login":"GawainLynch","id":1427081,"avatar_url":"https://avatars.githubusercontent.com/u/1427081?v=3","gravatar_id":"","url":"https://api.github.com/users/GawainLynch","html_url":"https://github.com/GawainLynch","followers_url":"https://api.github.com/users/GawainLynch/followers","following_url":"https://api.github.com/users/GawainLynch/following{/other_user}","gists_url":"https://api.github.com/users/GawainLynch/gists{/gist_id}","starred_url":"https://api.github.com/users/GawainLynch/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/GawainLynch/subscriptions","organizations_url":"https://api.github.com/users/GawainLynch/orgs","repos_url":"https://api.github.com/users/GawainLynch/repos","events_url":"https://api.github.com/users/GawainLynch/events{/privacy}","received_events_url":"https://api.github.com/users/GawainLynch/received_events","type":"User","site_admin":false},"created_at":"2015-02-24T16:36:42Z","updated_at":"2015-02-24T16:36:42Z","body":"> This wouldn't happen if we had actual classes and not arrays. 2.2 can't come soon enough :)\r\n\r\nBut perfection never will. I think your derp makes that point :Well caught :+1: "}}