{"action":"opened","issue":{"url":"https://api.github.com/repos/spring-projects/spring-security-oauth/issues/885","repository_url":"https://api.github.com/repos/spring-projects/spring-security-oauth","labels_url":"https://api.github.com/repos/spring-projects/spring-security-oauth/issues/885/labels{/name}","comments_url":"https://api.github.com/repos/spring-projects/spring-security-oauth/issues/885/comments","events_url":"https://api.github.com/repos/spring-projects/spring-security-oauth/issues/885/events","html_url":"https://github.com/spring-projects/spring-security-oauth/issues/885","id":183927894,"number":885,"title":"edit or add auth scopes or roles for urls dynamically","user":{"login":"xugc","id":12759354,"avatar_url":"https://avatars.githubusercontent.com/u/12759354?v=3","gravatar_id":"","url":"https://api.github.com/users/xugc","html_url":"https://github.com/xugc","followers_url":"https://api.github.com/users/xugc/followers","following_url":"https://api.github.com/users/xugc/following{/other_user}","gists_url":"https://api.github.com/users/xugc/gists{/gist_id}","starred_url":"https://api.github.com/users/xugc/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/xugc/subscriptions","organizations_url":"https://api.github.com/users/xugc/orgs","repos_url":"https://api.github.com/users/xugc/repos","events_url":"https://api.github.com/users/xugc/events{/privacy}","received_events_url":"https://api.github.com/users/xugc/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2016-10-19T10:48:23Z","updated_at":"2016-10-19T10:48:23Z","closed_at":null,"body":"when we set auth (scopes or roles) for urls ,code is like this:\r\nhttp.antMatchers(\"/photos/**\").access(\"#oauth2.hasScope('read') or (!#oauth2.isOAuth() and hasRole('ROLE_USER'))\")\r\ncan make the scopes(such as read) and roles(ROLE_USER ...) to persistent in db"}}
{"actor":{"display_login":"xugc"}}