{"action":"created","issue":{"url":"https://api.github.com/repos/scheb/two-factor-bundle/issues/32","labels_url":"https://api.github.com/repos/scheb/two-factor-bundle/issues/32/labels{/name}","comments_url":"https://api.github.com/repos/scheb/two-factor-bundle/issues/32/comments","events_url":"https://api.github.com/repos/scheb/two-factor-bundle/issues/32/events","html_url":"https://github.com/scheb/two-factor-bundle/pull/32","id":116147236,"number":32,"title":"Make `is_granted` work using a SecurityVoter","user":{"login":"darookee","id":104579,"avatar_url":"https://avatars.githubusercontent.com/u/104579?v=3","gravatar_id":"","url":"https://api.github.com/users/darookee","html_url":"https://github.com/darookee","followers_url":"https://api.github.com/users/darookee/followers","following_url":"https://api.github.com/users/darookee/following{/other_user}","gists_url":"https://api.github.com/users/darookee/gists{/gist_id}","starred_url":"https://api.github.com/users/darookee/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/darookee/subscriptions","organizations_url":"https://api.github.com/users/darookee/orgs","repos_url":"https://api.github.com/users/darookee/repos","events_url":"https://api.github.com/users/darookee/events{/privacy}","received_events_url":"https://api.github.com/users/darookee/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2015-11-10T16:41:52Z","updated_at":"2015-11-12T21:27:33Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/scheb/two-factor-bundle/pulls/32","html_url":"https://github.com/scheb/two-factor-bundle/pull/32","diff_url":"https://github.com/scheb/two-factor-bundle/pull/32.diff","patch_url":"https://github.com/scheb/two-factor-bundle/pull/32.patch"},"body":"This helps for example with creating layouts that check for the logged in user to display different content, like a menu on top. The Voter checks if the two-factor-auth is completed, if not it will deny access.\r\n\r\nThis requires `security.access_decisision_manager.strategy` set to `unanimous`"},"comment":{"url":"https://api.github.com/repos/scheb/two-factor-bundle/issues/comments/156240830","html_url":"https://github.com/scheb/two-factor-bundle/pull/32#issuecomment-156240830","issue_url":"https://api.github.com/repos/scheb/two-factor-bundle/issues/32","id":156240830,"user":{"login":"darookee","id":104579,"avatar_url":"https://avatars.githubusercontent.com/u/104579?v=3","gravatar_id":"","url":"https://api.github.com/users/darookee","html_url":"https://github.com/darookee","followers_url":"https://api.github.com/users/darookee/followers","following_url":"https://api.github.com/users/darookee/following{/other_user}","gists_url":"https://api.github.com/users/darookee/gists{/gist_id}","starred_url":"https://api.github.com/users/darookee/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/darookee/subscriptions","organizations_url":"https://api.github.com/users/darookee/orgs","repos_url":"https://api.github.com/users/darookee/repos","events_url":"https://api.github.com/users/darookee/events{/privacy}","received_events_url":"https://api.github.com/users/darookee/received_events","type":"User","site_admin":false},"created_at":"2015-11-12T21:27:33Z","updated_at":"2015-11-12T21:27:33Z","body":"Finaly...\r\n\r\nI hope I've done this right, I'm unfortunately not that experienced with test... :-/"}}