Search before asking
Motivation
LIST_DATABASES currently filters databases using the DESCRIBE permission.
This creates a least-privilege problem:
- A user who only has permission on a specific table cannot see its parent database in
listDatabases or Flink SHOW DATABASES.
- Granting
DESCRIBE on the database is too permissive because database-level permissions
are inherited by all tables in that database. The user can consequently discover and
describe tables that they were not explicitly granted access to.
There is currently no permission that allows a user to discover or reference a database
without also granting access to its contents.
Solution
Referring snowflake, introduce a new ACL operation named USAGE.
USAGE represents the minimum permission required to discover and reference a container
resource. It acts as a "door key" and does not grant permission to inspect, read, write,
create, alter, or drop objects inside the resource.
Anything else?
No response
Willingness to contribute
Search before asking
Motivation
LIST_DATABASEScurrently filters databases using theDESCRIBEpermission.This creates a least-privilege problem:
listDatabasesor FlinkSHOW DATABASES.DESCRIBEon the database is too permissive because database-level permissionsare inherited by all tables in that database. The user can consequently discover and
describe tables that they were not explicitly granted access to.
There is currently no permission that allows a user to discover or reference a database
without also granting access to its contents.
Solution
Referring snowflake, introduce a new ACL operation named
USAGE.USAGErepresents the minimum permission required to discover and reference a containerresource. It acts as a "door key" and does not grant permission to inspect, read, write,
create, alter, or drop objects inside the resource.
Anything else?
No response
Willingness to contribute