{"action":"closed","issue":{"url":"https://api.github.com/repos/psecio/gatekeeper/issues/10","labels_url":"https://api.github.com/repos/psecio/gatekeeper/issues/10/labels{/name}","comments_url":"https://api.github.com/repos/psecio/gatekeeper/issues/10/comments","events_url":"https://api.github.com/repos/psecio/gatekeeper/issues/10/events","html_url":"https://github.com/psecio/gatekeeper/issues/10","id":81104348,"number":10,"title":"Add the \"hasPermission\" method to the documentation","user":{"login":"enygma","id":66796,"avatar_url":"https://avatars.githubusercontent.com/u/66796?v=3","gravatar_id":"","url":"https://api.github.com/users/enygma","html_url":"https://github.com/enygma","followers_url":"https://api.github.com/users/enygma/followers","following_url":"https://api.github.com/users/enygma/following{/other_user}","gists_url":"https://api.github.com/users/enygma/gists{/gist_id}","starred_url":"https://api.github.com/users/enygma/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/enygma/subscriptions","organizations_url":"https://api.github.com/users/enygma/orgs","repos_url":"https://api.github.com/users/enygma/repos","events_url":"https://api.github.com/users/enygma/events{/privacy}","received_events_url":"https://api.github.com/users/enygma/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/psecio/gatekeeper/labels/help%20wanted","name":"help wanted","color":"159818"}],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-05-26T19:35:52Z","updated_at":"2015-06-06T22:39:51Z","closed_at":"2015-06-06T22:39:51Z","body":"There's a `hasPermission` method on the user that's currently not mentioned in the documentation that I can see.\r\n\r\n```php\r\n<?php\r\npublic function hasPermission($permissionId) { ... }\r\n?>\r\n```"}}