Repository: kylin Updated Branches: refs/heads/2.0-rc e3ad70eef -> 573109951
Kylin-1365, update project access permission Project: http://git-wip-us.apache.org/repos/asf/kylin/repo Commit: http://git-wip-us.apache.org/repos/asf/kylin/commit/57310995 Tree: http://git-wip-us.apache.org/repos/asf/kylin/tree/57310995 Diff: http://git-wip-us.apache.org/repos/asf/kylin/diff/57310995 Branch: refs/heads/2.0-rc Commit: 573109951bdf9569b5cc7eccd8030a587c6bd168 Parents: e3ad70e Author: janzhongi <[email protected]> Authored: Tue Jan 26 14:50:29 2016 +0800 Committer: janzhongi <[email protected]> Committed: Tue Jan 26 14:50:29 2016 +0800 ---------------------------------------------------------------------- server/src/main/resources/kylinSecurity.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/kylin/blob/57310995/server/src/main/resources/kylinSecurity.xml ---------------------------------------------------------------------- diff --git a/server/src/main/resources/kylinSecurity.xml b/server/src/main/resources/kylinSecurity.xml index 819d951..f8803f6 100644 --- a/server/src/main/resources/kylinSecurity.xml +++ b/server/src/main/resources/kylinSecurity.xml @@ -192,7 +192,7 @@ <scr:intercept-url pattern="/api/streaming*/**" access="isAuthenticated()" /> <scr:intercept-url pattern="/api/job*/**" access="isAuthenticated()" /> <scr:intercept-url pattern="/api/admin/config" access="permitAll" /> - <scr:intercept-url pattern="/api/projects" access="permitAll" /> + <scr:intercept-url pattern="/api/projects*/*" access="isAuthenticated()" /> <scr:intercept-url pattern="/api/admin*/**" access="hasRole('ROLE_ADMIN')" /> <scr:intercept-url pattern="/api/**" access="isAuthenticated()" />
