apache / kyuubi

Apache Kyuubi is a distributed and multi-tenant gateway to provide serverless SQL on data warehouses and lakehouses.
https://kyuubi.apache.org/
Apache License 2.0
2.07k stars 903 forks source link

[Improvement] [authz] Implement Ranger URL Policy, support read/write permission control of cloud storage paths #3623

Open elonlo opened 1 year ago

elonlo commented 1 year ago

Code of Conduct

Search before asking

What would you like to be improved?

Specify the cloud storage path (for example s3a://dev-admin/demo/) where the end-user permission is needed to read/write the Hive data from/to a cloud storage path.

Permissions:

image

ref: https://docs.cloudera.com/HDPDocuments/HDP3/HDP-3.0.1/authorization-ranger/content/resource_policy_create_a_hive_policy.html

How should we improve?

Get the locations of the DDL or Insert operation, construct the URL Privilege, and use the ranger interface for verify

Are you willing to submit PR?

github-actions[bot] commented 1 year ago

Hello @elonlo, Thanks for finding the time to report the issue! We really appreciate the community's efforts to improve Apache Kyuubi (Incubating).