TECHNICAL ROLE
Config path: /technical_role.yaml
Example:
Schema
{key} (ident) - tech role name
{value} (dict)
grants (dict)
{key} (str) -
<object_type>:<privilege>
{value} (list)
{items} (ident) - full objects names to grant privilege
account_grants (list)
{items} (str) - account-level privilege
comment (str)
Usage notes
List of possible privileges is available in Access Control documentation.
Long object types should be specified with underscore (e.g.
EXTERNAL_TABLE
).Object names should be fully qualified:
<database>.<schema>.<name>
. Functions and procedures should also have data types in parenthesis:<database>.<schema>.<name>(<arg1_dtype>,<arg2_dtype>)
.FUTURE GRANTS are not supported by TECHNICAL ROLES, since TECHNICAL ROLES are being created after most of other objects. FUTURE GRANTS can be customised via permission models.
OWNERSHIP privilege is not allowed for TECHNICAL ROLES. It is controlled by permission model instead.
Links
Last updated