Skip to content

[EPIC] SQL-Based authorization plugin #5530

@jerqi

Description

@jerqi

Describe the proposal

Gravitino unified authorization will use multiple authorization plugins for different catalogs. For relational catalogs, they usually supports GRANT/REVOKE SQL to authorize.
The plugin will support use SQL to authorize. In Gravitino, we have three kinds of relational catalog.

  1. Hive catalog: a big data typical data catalog. Maybe we should use Hive client to execute the SQL.
  2. Jdbc catalogs: MySQL, PostSQL and etc , they use Jdbc library to execute SQL.
  3. Lakehouse catalogs: Iceberg,Hudi,Paimon have different backends. They may need different implement for different backends.

I will draft a design document first.

Task list

Metadata

Metadata

Assignees

Labels

epicKey feature

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions