xiangfu0 opened a new pull request, #20370: URL: https://github.com/apache/pinot/pull/20370
## Summary Use the existing empty-table-set authorization path when a broker request has no table context. This gives the ZooKeeper-backed provider one place to validate the caller and apply table restrictions. ## How to reproduce in the unit test Run `ZkBasicAuthAccessControlFactoryTest#testQueryAuthorization` with the updated assertions. The test covers the identity-only overload for valid, missing, and incorrect credentials, along with the existing named-table cases. ```sh ./mvnw -pl pinot-broker -am -Dtest=ZkBasicAuthAccessControlFactoryTest -Dsurefire.failIfNoSpecifiedTests=false test ``` -- 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]
