{"action":"created","issue":{"url":"https://api.github.com/repos/FrostDigital/fruster-bus-js/issues/7","repository_url":"https://api.github.com/repos/FrostDigital/fruster-bus-js","labels_url":"https://api.github.com/repos/FrostDigital/fruster-bus-js/issues/7/labels{/name}","comments_url":"https://api.github.com/repos/FrostDigital/fruster-bus-js/issues/7/comments","events_url":"https://api.github.com/repos/FrostDigital/fruster-bus-js/issues/7/events","html_url":"https://github.com/FrostDigital/fruster-bus-js/pull/7","id":173992458,"number":7,"title":"Permissions","user":{"login":"Florry","id":5434997,"avatar_url":"https://avatars.githubusercontent.com/u/5434997?v=3","gravatar_id":"","url":"https://api.github.com/users/Florry","html_url":"https://github.com/Florry","followers_url":"https://api.github.com/users/Florry/followers","following_url":"https://api.github.com/users/Florry/following{/other_user}","gists_url":"https://api.github.com/users/Florry/gists{/gist_id}","starred_url":"https://api.github.com/users/Florry/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Florry/subscriptions","organizations_url":"https://api.github.com/users/Florry/orgs","repos_url":"https://api.github.com/users/Florry/repos","events_url":"https://api.github.com/users/Florry/events{/privacy}","received_events_url":"https://api.github.com/users/Florry/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2016-08-30T11:15:43Z","updated_at":"2016-08-30T11:16:12Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/FrostDigital/fruster-bus-js/pulls/7","html_url":"https://github.com/FrostDigital/fruster-bus-js/pull/7","diff_url":"https://github.com/FrostDigital/fruster-bus-js/pull/7.diff","patch_url":"https://github.com/FrostDigital/fruster-bus-js/pull/7.patch"},"body":"Implements permissions for \"subscribe\"; bus.subscribe(subject, callback).permissions([\"entity.action\"]) and authorizes calls based on user scopes. User must have all scopes in array to gain access. If no permissions are defined anyone will be granted access.\r\n\r\n- If user has scope \"*\" it can access everything.\r\n- If service has permission entity.* users with any action within that entity can access it."},"comment":{"url":"https://api.github.com/repos/FrostDigital/fruster-bus-js/issues/comments/243407952","html_url":"https://github.com/FrostDigital/fruster-bus-js/pull/7#issuecomment-243407952","issue_url":"https://api.github.com/repos/FrostDigital/fruster-bus-js/issues/7","id":243407952,"user":{"login":"Florry","id":5434997,"avatar_url":"https://avatars.githubusercontent.com/u/5434997?v=3","gravatar_id":"","url":"https://api.github.com/users/Florry","html_url":"https://github.com/Florry","followers_url":"https://api.github.com/users/Florry/followers","following_url":"https://api.github.com/users/Florry/following{/other_user}","gists_url":"https://api.github.com/users/Florry/gists{/gist_id}","starred_url":"https://api.github.com/users/Florry/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Florry/subscriptions","organizations_url":"https://api.github.com/users/Florry/orgs","repos_url":"https://api.github.com/users/Florry/repos","events_url":"https://api.github.com/users/Florry/events{/privacy}","received_events_url":"https://api.github.com/users/Florry/received_events","type":"User","site_admin":false},"created_at":"2016-08-30T11:16:12Z","updated_at":"2016-08-30T11:16:12Z","body":"@joelso  Go go go go!"}}
{"actor":{"display_login":"Florry"}}