{"action":"created","issue":{"url":"https://api.github.com/repos/candlepin/candlepin/issues/885","labels_url":"https://api.github.com/repos/candlepin/candlepin/issues/885/labels{/name}","comments_url":"https://api.github.com/repos/candlepin/candlepin/issues/885/comments","events_url":"https://api.github.com/repos/candlepin/candlepin/issues/885/events","html_url":"https://github.com/candlepin/candlepin/pull/885","id":73073758,"number":885,"title":"Apply permissions while getting Job Status","user":{"login":"mstead","id":218800,"avatar_url":"https://avatars.githubusercontent.com/u/218800?v=3","gravatar_id":"","url":"https://api.github.com/users/mstead","html_url":"https://github.com/mstead","followers_url":"https://api.github.com/users/mstead/followers","following_url":"https://api.github.com/users/mstead/following{/other_user}","gists_url":"https://api.github.com/users/mstead/gists{/gist_id}","starred_url":"https://api.github.com/users/mstead/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mstead/subscriptions","organizations_url":"https://api.github.com/users/mstead/orgs","repos_url":"https://api.github.com/users/mstead/repos","events_url":"https://api.github.com/users/mstead/events{/privacy}","received_events_url":"https://api.github.com/users/mstead/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-05-04T17:12:20Z","updated_at":"2015-05-05T16:02:09Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/candlepin/candlepin/pulls/885","html_url":"https://github.com/candlepin/candlepin/pull/885","diff_url":"https://github.com/candlepin/candlepin/pull/885.diff","patch_url":"https://github.com/candlepin/candlepin/pull/885.patch"},"body":"Allow JobStatus to be fetched by a regular user\r\nor consumer if they have the appropriate permission\r\nto do so.\r\n\r\nPermissions will be applied such that:\r\n  * a super admin can view any job status\r\n  * a user can view a job status if they have some level of access\r\n    to an org (no matter who started the job)\r\n  * a consumer can only view the status of jobs they have started"},"comment":{"url":"https://api.github.com/repos/candlepin/candlepin/issues/comments/99125334","html_url":"https://github.com/candlepin/candlepin/pull/885#issuecomment-99125334","issue_url":"https://api.github.com/repos/candlepin/candlepin/issues/885","id":99125334,"user":{"login":"wottop","id":1753002,"avatar_url":"https://avatars.githubusercontent.com/u/1753002?v=3","gravatar_id":"","url":"https://api.github.com/users/wottop","html_url":"https://github.com/wottop","followers_url":"https://api.github.com/users/wottop/followers","following_url":"https://api.github.com/users/wottop/following{/other_user}","gists_url":"https://api.github.com/users/wottop/gists{/gist_id}","starred_url":"https://api.github.com/users/wottop/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/wottop/subscriptions","organizations_url":"https://api.github.com/users/wottop/orgs","repos_url":"https://api.github.com/users/wottop/repos","events_url":"https://api.github.com/users/wottop/events{/privacy}","received_events_url":"https://api.github.com/users/wottop/received_events","type":"User","site_admin":false},"created_at":"2015-05-05T16:02:09Z","updated_at":"2015-05-05T16:02:09Z","body":"ack"}}