zddr commented on code in PR #33320:
URL: https://github.com/apache/doris/pull/33320#discussion_r1557273087


##########
fe/fe-core/src/main/java/org/apache/doris/httpv2/controller/BaseController.java:
##########
@@ -227,15 +228,17 @@ protected void checkGlobalAuth(UserIdentity currentUser, 
PrivPredicate predicate
 
     protected void checkDbAuth(UserIdentity currentUser, String db, 
PrivPredicate predicate)
             throws UnauthorizedException {
-        if (!Env.getCurrentEnv().getAccessManager().checkDbPriv(currentUser, 
db, predicate)) {
+        if (!Env.getCurrentEnv().getAccessManager()

Review Comment:
   Unable to obtain catalog name



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


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to