This is an automated email from the ASF dual-hosted git repository.
xxyu pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/kylin.git
The following commit(s) were added to refs/heads/master by this push:
new 8c81806 KYLIN-4636 Make /api/admin/public_config callable for profile
saml
8c81806 is described below
commit 8c81806593886869b2ba13d1ec9482dd4e001830
Author: yangjiang <[email protected]>
AuthorDate: Tue Oct 13 10:47:37 2020 +0800
KYLIN-4636 Make /api/admin/public_config callable for profile saml
---
server/src/main/resources/kylinSecurity.xml | 1 +
1 file changed, 1 insertion(+)
diff --git a/server/src/main/resources/kylinSecurity.xml
b/server/src/main/resources/kylinSecurity.xml
index aa92f4b..36376de 100644
--- a/server/src/main/resources/kylinSecurity.xml
+++ b/server/src/main/resources/kylinSecurity.xml
@@ -305,6 +305,7 @@
<scr:intercept-url pattern="/api/streaming*/**"
access="isAuthenticated()"/>
<scr:intercept-url pattern="/api/job*/**"
access="isAuthenticated()"/>
<scr:intercept-url pattern="/api/projects*/*"
access="isAuthenticated()"/>
+ <scr:intercept-url pattern="/api/admin/public_config"
access="permitAll"/>
<scr:intercept-url pattern="/api/admin*/**"
access="hasRole('ROLE_ADMIN')"/>
<scr:intercept-url pattern="/api/tables/**/snapshotLocalCache/**"
access="permitAll"/>
<scr:intercept-url pattern="/api/**" access="isAuthenticated()"/>