hongkunxu commented on code in PR #17242:
URL: https://github.com/apache/pinot/pull/17242#discussion_r2549042691


##########
pinot-core/src/main/java/org/apache/pinot/core/auth/BasicAuthPrincipal.java:
##########
@@ -61,7 +62,7 @@ public String getToken() {
   }
 
   public boolean hasTable(String tableName) {
-    return isTableIncluded(tableName) && isTableNotExcluded(tableName);
+    return StringUtils.isEmpty(tableName) || (isTableIncluded(tableName) && 
isTableNotExcluded(tableName));

Review Comment:
   Thanks for your suggestion. And I will modify it later.



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