9aman commented on code in PR #16043: URL: https://github.com/apache/pinot/pull/16043#discussion_r2168127129
########## pinot-broker/src/main/java/org/apache/pinot/broker/requesthandler/MultiStageBrokerRequestHandler.java: ########## @@ -304,6 +304,17 @@ private void checkAuthorization(RequesterIdentity requesterIdentity, RequestCont if (!tableAuthorizationResult.hasAccess()) { throwTableAccessError(tableAuthorizationResult); } + AccessControl accessControl = _accessControlFactory.create(); + for (String tableName : tables) { + accessControl.getRowColFilters(requesterIdentity, tableName).getRLSFilters() + .ifPresent(rowFilters -> { + String combinedFilters = String.join(" AND ", rowFilters); + String key = String.format("%s-%s", CommonConstants.RLS_FILTERS, tableName); Review Comment: I am keeping it as such. This can help us avoid any conflicts as well with other query options. -- 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: commits-unsubscr...@pinot.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: commits-unsubscr...@pinot.apache.org For additional commands, e-mail: commits-h...@pinot.apache.org