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.11k stars 916 forks source link

[TASK][EASY] Support checks for Paimon system procudures in Authz #5430

Open SteNicholas opened 1 year ago

SteNicholas commented 1 year ago

Code of Conduct

Search before creating

Mentor

Skill requirements

Background and Goals

Paimon provides a series of system procedures for lifecycle management, which are essential for the lakehouse's administrator and users. And multiple plans may be executed in single procedure. Now the Authz plugin supports checking privileges for DMLs and DDLs on Paimon tables, but system procedures are not in the range. It leaves a permission leaking to the Paimon table management.

This task is targeted to ensure privilege checking on the Spark system procedures of Paimon, including:

Implementation steps

Additional context

No response

fsk119 commented 1 year ago

Please assign it to me. I am willing to help