hityc2019 commented on a change in pull request #736:
URL:
https://github.com/apache/servicecomb-service-center/pull/736#discussion_r530943868
##########
File path: pkg/rbacframe/api.go
##########
@@ -74,3 +76,27 @@ func Authenticate(tokenStr string, pub *rsa.PublicKey)
(interface{}, error) {
}
return claims, nil
}
+
+// TypeOfRole return role list string
+func TypeOfRole(v interface{}) ([]string, error) {
Review comment:
这里面确实是roles啊!应该是ClaimsRole改成ClaimsRoles更准确
----------------------------------------------------------------
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:
[email protected]