You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@druid.apache.org by GitBox <gi...@apache.org> on 2019/04/30 03:56:40 UTC

[GitHub] [incubator-druid] jon-wei opened a new pull request #7579: Adjust required permissions for system schema

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:
users@infra.apache.org


With regards,
Apache Git Services

---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@druid.apache.org
For additional commands, e-mail: commits-help@druid.apache.org