jon-wei opened a new pull request #7579: Adjust required permissions for system 
schema
URL: https://github.com/apache/incubator-druid/pull/7579
 
 
   This PR implements the following change described in #7563:
   
   > The permissions needed for system table access could be adjusted to not 
require additional permissions beyond datasource-specific permissions for 
non-server related info (segments, tasks) and to require STATE-read permissions 
for server-related tables (servers, server_segments) to be consistent with the 
non-SQL APIs.
   
   A STATE.READ permission check is added to `server_segments` sys table 
handling (`servers` already had one, and #7567 removed the unnecessary `sys` 
datasource check).
   
   This PR also adds integration tests for sys schema + auth. A new segment and 
task for `auth_test` datasource are inserted directly into metadata during IT 
setup, and this datasource is used for testing the auth checks.
   
   

----------------------------------------------------------------
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.
 
For queries about this service, please contact Infrastructure at:
[email protected]


With regards,
Apache Git Services

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to