You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@servicecomb.apache.org by GitBox <gi...@apache.org> on 2020/07/15 04:27:10 UTC

[GitHub] [servicecomb-service-center] humingcheng commented on a change in pull request #667: Change auth white list apis

humingcheng commented on a change in pull request #667:
URL: https://github.com/apache/servicecomb-service-center/pull/667#discussion_r454783333



##########
File path: server/service/rbac/rbac.go
##########
@@ -66,7 +66,10 @@ func Init() {
 	}
 	readPrivateKey()
 	readPublicKey()
-	rbacframe.Add2WhiteAPIList("/health", "/version", "/v4/token")
+	rbacframe.Add2WhiteAPIList(
+		"/v4/:project/govern/microservices",

Review comment:
       这里统一判断了/version和/health:
   https://github.com/apache/servicecomb-service-center/blob/ed18b91158a3306d8901829954024bad4d45dc8c/server/handler/context/context.go#L57-L66
   




----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org