Skip to content

feat(authz): more provileges - #38

Merged
ion-elgreco merged 1 commit into
mainfrom
feat/permission-gaps
Nov 13, 2026
Merged

ion-elgreco merged 1 commit into
mainfrom
feat/permission-gaps

Conversation

@ion-elgreco

Copy link
Copy Markdown
Collaborator

No description provided.

…EAD METADATA

The server takes the five privileges that upstream added, with the
rules of upstream:

- MANAGE stands in for the owner in the read, update, delete and grant
  rules, and gives no access to data. A rename through MANAGE also
  needs the create privilege of the parent.
- READ METADATA reads the metadata of an object and all its grants.
- BROWSE on a catalog or an external location shows the discovery
  fields of the objects below it. The get and list calls take
  include_browse, and the answers mark such objects with browse_only.
- Write credentials of a volume need the owner, or READ VOLUME and
  WRITE VOLUME.
- CREATE MODEL VERSION allows create, finalize and write credentials
  of a model version. Only the creator can finalize a version, and
  read credentials need a version that is READY.

Rules that are now as strict as upstream:

- A grant of a privilege on an object type that does not take it gets
  INVALID_ARGUMENT. The users of [[auth.users]] take only the
  privileges of the metastore.
- MODIFY gives no access to the metadata of a table.
- The rename of a volume or a model also needs the schema owner, or
  USE SCHEMA and the create privilege.
- Iceberg credentials need USE CATALOG, USE SCHEMA and SELECT, or the
  owner. Load table gives no credentials without them.
- SCIM does not delete or deactivate the owner of the metastore.
@ion-elgreco
ion-elgreco merged commit d67ae1a into main Nov 13, 2026
27 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant