xiangfu0 commented on code in PR #17242:
URL: https://github.com/apache/pinot/pull/17242#discussion_r2544710006
##########
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:
why check for empty table 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]