xiangfu0 opened a new pull request, #20369:
URL: https://github.com/apache/pinot/pull/20369

   ## Summary
   
   Authenticate the broker caller before time-series planning. Check the 
caller's table grants across all leaves in the logical plan, then run the 
configured provider's fine-grained checks on the resolved table names. Apply 
both checks to execution, empty results, and EXPLAIN.
   
   Time-series execution does not apply row filters. When row-level security is 
enabled and the caller has a filter on a referenced table, the broker denies 
the request. Deployments with a custom time-series EXPLAIN handler must 
implement the overload that accepts the caller identity and HTTP headers.
   
   ## How to reproduce in a unit test
   
   The broker unit test supplies a two-table logical plan and a mock provider 
that denies the second table. It covers regular execution, empty results, and 
EXPLAIN, as well as resolved-table denials and row-filter policies. The 
ZooKeeper Basic Auth test checks requester-only authentication with valid, 
missing, and invalid credentials.
   
   ## Validation
   
   89 tests passed across `TimeSeriesRequestHandlerTest`, 
`TimeSeriesQueryEnvironmentTest`, `PinotClientRequestTest`, 
`BasicAuthAccessControlTest`, and `ZkBasicAuthAccessControlFactoryTest`. 
Spotless, Checkstyle, license formatting and verification, and test compilation 
passed for the affected modules.
   


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