{"action":"created","issue":{"url":"https://api.github.com/repos/dereuromark/cakephp-tinyauth/issues/9","repository_url":"https://api.github.com/repos/dereuromark/cakephp-tinyauth","labels_url":"https://api.github.com/repos/dereuromark/cakephp-tinyauth/issues/9/labels{/name}","comments_url":"https://api.github.com/repos/dereuromark/cakephp-tinyauth/issues/9/comments","events_url":"https://api.github.com/repos/dereuromark/cakephp-tinyauth/issues/9/events","html_url":"https://github.com/dereuromark/cakephp-tinyauth/issues/9","id":101167915,"number":9,"title":"Auth Help","user":{"login":"PennyScripter","id":5669247,"avatar_url":"https://avatars.githubusercontent.com/u/5669247?v=3","gravatar_id":"","url":"https://api.github.com/users/PennyScripter","html_url":"https://github.com/PennyScripter","followers_url":"https://api.github.com/users/PennyScripter/followers","following_url":"https://api.github.com/users/PennyScripter/following{/other_user}","gists_url":"https://api.github.com/users/PennyScripter/gists{/gist_id}","starred_url":"https://api.github.com/users/PennyScripter/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/PennyScripter/subscriptions","organizations_url":"https://api.github.com/users/PennyScripter/orgs","repos_url":"https://api.github.com/users/PennyScripter/repos","events_url":"https://api.github.com/users/PennyScripter/events{/privacy}","received_events_url":"https://api.github.com/users/PennyScripter/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/dereuromark/cakephp-tinyauth/labels/enhancement","name":"enhancement","color":"84b6eb"},{"url":"https://api.github.com/repos/dereuromark/cakephp-tinyauth/labels/help%20wanted","name":"help wanted","color":"159818"}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":21,"created_at":"2015-08-15T11:40:27Z","updated_at":"2016-10-19T22:40:25Z","closed_at":null,"body":"When in a controller or view how to I check for the current users role?"},"comment":{"url":"https://api.github.com/repos/dereuromark/cakephp-tinyauth/issues/comments/254961871","html_url":"https://github.com/dereuromark/cakephp-tinyauth/issues/9#issuecomment-254961871","issue_url":"https://api.github.com/repos/dereuromark/cakephp-tinyauth/issues/9","id":254961871,"user":{"login":"dereuromark","id":39854,"avatar_url":"https://avatars.githubusercontent.com/u/39854?v=3","gravatar_id":"","url":"https://api.github.com/users/dereuromark","html_url":"https://github.com/dereuromark","followers_url":"https://api.github.com/users/dereuromark/followers","following_url":"https://api.github.com/users/dereuromark/following{/other_user}","gists_url":"https://api.github.com/users/dereuromark/gists{/gist_id}","starred_url":"https://api.github.com/users/dereuromark/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dereuromark/subscriptions","organizations_url":"https://api.github.com/users/dereuromark/orgs","repos_url":"https://api.github.com/users/dereuromark/repos","events_url":"https://api.github.com/users/dereuromark/events{/privacy}","received_events_url":"https://api.github.com/users/dereuromark/received_events","type":"User","site_admin":false},"created_at":"2016-10-19T22:40:25Z","updated_at":"2016-10-19T22:40:25Z","body":"You now have access to the roles in the new AuthHelper.\r\nBy using\r\n\r\n    $this->Auth->isAuthorized() {\r\n    }\r\n\r\nyou can display specific links and content only if it is allowed by that role."}}
{"actor":{"display_login":"dereuromark"}}