{"action":"created","issue":{"url":"https://api.github.com/repos/ppazos/cabolabs-ehrserver/issues/511","repository_url":"https://api.github.com/repos/ppazos/cabolabs-ehrserver","labels_url":"https://api.github.com/repos/ppazos/cabolabs-ehrserver/issues/511/labels{/name}","comments_url":"https://api.github.com/repos/ppazos/cabolabs-ehrserver/issues/511/comments","events_url":"https://api.github.com/repos/ppazos/cabolabs-ehrserver/issues/511/events","html_url":"https://github.com/ppazos/cabolabs-ehrserver/issues/511","id":194898315,"number":511,"title":"Do not allow users with ROLE_USER to login on the Web Console","user":{"login":"ppazos","id":1278556,"avatar_url":"https://avatars.githubusercontent.com/u/1278556?v=3","gravatar_id":"","url":"https://api.github.com/users/ppazos","html_url":"https://github.com/ppazos","followers_url":"https://api.github.com/users/ppazos/followers","following_url":"https://api.github.com/users/ppazos/following{/other_user}","gists_url":"https://api.github.com/users/ppazos/gists{/gist_id}","starred_url":"https://api.github.com/users/ppazos/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ppazos/subscriptions","organizations_url":"https://api.github.com/users/ppazos/orgs","repos_url":"https://api.github.com/users/ppazos/repos","events_url":"https://api.github.com/users/ppazos/events{/privacy}","received_events_url":"https://api.github.com/users/ppazos/received_events","type":"User","site_admin":false},"labels":[{"id":173412501,"url":"https://api.github.com/repos/ppazos/cabolabs-ehrserver/labels/high_prio","name":"high_prio","color":"f7c6c7","default":false},{"id":63878918,"url":"https://api.github.com/repos/ppazos/cabolabs-ehrserver/labels/new%20feature","name":"new feature","color":"fbca04","default":false}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":{"url":"https://api.github.com/repos/ppazos/cabolabs-ehrserver/milestones/8","html_url":"https://github.com/ppazos/cabolabs-ehrserver/milestone/8","labels_url":"https://api.github.com/repos/ppazos/cabolabs-ehrserver/milestones/8/labels","id":1562339,"number":8,"title":"v0.9","description":"","creator":{"login":"ppazos","id":1278556,"avatar_url":"https://avatars.githubusercontent.com/u/1278556?v=3","gravatar_id":"","url":"https://api.github.com/users/ppazos","html_url":"https://github.com/ppazos","followers_url":"https://api.github.com/users/ppazos/followers","following_url":"https://api.github.com/users/ppazos/following{/other_user}","gists_url":"https://api.github.com/users/ppazos/gists{/gist_id}","starred_url":"https://api.github.com/users/ppazos/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ppazos/subscriptions","organizations_url":"https://api.github.com/users/ppazos/orgs","repos_url":"https://api.github.com/users/ppazos/repos","events_url":"https://api.github.com/users/ppazos/events{/privacy}","received_events_url":"https://api.github.com/users/ppazos/received_events","type":"User","site_admin":false},"open_issues":15,"closed_issues":40,"state":"open","created_at":"2016-02-04T01:24:26Z","updated_at":"2016-12-29T03:29:07Z","due_on":null,"closed_at":null},"comments":1,"created_at":"2016-12-12T06:15:03Z","updated_at":"2016-12-30T04:45:22Z","closed_at":null,"body":"Normal users will only access the EHRServer by the REST API."},"comment":{"url":"https://api.github.com/repos/ppazos/cabolabs-ehrserver/issues/comments/269732025","html_url":"https://github.com/ppazos/cabolabs-ehrserver/issues/511#issuecomment-269732025","issue_url":"https://api.github.com/repos/ppazos/cabolabs-ehrserver/issues/511","id":269732025,"user":{"login":"ppazos","id":1278556,"avatar_url":"https://avatars.githubusercontent.com/u/1278556?v=3","gravatar_id":"","url":"https://api.github.com/users/ppazos","html_url":"https://github.com/ppazos","followers_url":"https://api.github.com/users/ppazos/followers","following_url":"https://api.github.com/users/ppazos/following{/other_user}","gists_url":"https://api.github.com/users/ppazos/gists{/gist_id}","starred_url":"https://api.github.com/users/ppazos/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ppazos/subscriptions","organizations_url":"https://api.github.com/users/ppazos/orgs","repos_url":"https://api.github.com/users/ppazos/repos","events_url":"https://api.github.com/users/ppazos/events{/privacy}","received_events_url":"https://api.github.com/users/ppazos/received_events","type":"User","site_admin":false},"created_at":"2016-12-30T04:45:22Z","updated_at":"2016-12-30T04:45:22Z","body":"I can do this on the AuthFilter, by checking the user role and throwing an AuthenticationException if it has the USER_ROLE."}}
{"actor":{"display_login":"ppazos"}}