little-cui commented on code in PR #267:
URL: https://github.com/apache/servicecomb-kie/pull/267#discussion_r1028079514


##########
server/config/struct.go:
##########
@@ -50,8 +50,10 @@ type DB struct {
 
 // RBAC is rbac config
 type RBAC struct {
-       Enabled    bool   `yaml:"enabled"`
-       PubKeyFile string `yaml:"rsaPublicKeyFile"`
+       Enabled        bool `yaml:"enabled"`
+       AllowMissToken bool `yaml:"allowMissToken"`
+       SkipAuth       bool

Review Comment:
   不应该定义新的概念,enabled和allow参数已经可以满足判断的需求



-- 
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.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to