Skip to main content

Grant Permission

Grant a permission to a user, role, or organization.

Syntax

grant <permission>
on { organization | repository | secret | cluster | data source | schema | project | table | job } <object ref>
to { user <username> | role <role name> | organization <org name>}

Parameters

permission

String — Name of the permission type to grant. One of: admin, lineage, developer, write, execute, read, use.

object ref

String — The (optionally qualified) name of the object to grant the permission on.

username, role name, or org name

String — The name of the principal to grant the permission to, either a user, role, or organization.

Security

Restricted to admins of the target object.