GRANT OWNERSHIP ON ARTIFACT
statementpartialAccess control (grants, roles)Transfers ownership of a Snowflake Artifact. An artifact always has an owner; REVOKE OWNERSHIP ON ARTIFACT isn’t supported.
Syntax
supportedpartialnot supportednot scored
GRANT OWNERSHIP ON ARTIFACT <name>
TO { ROLE <role_name> | USER <user_name> }
[ COPY CURRENT GRANTS | REVOKE CURRENT GRANTS ]
Access control requirements
The executing role needs OWNERSHIP on the artifact and the ability to act for the recipient role, or account-level MANAGE GRANTS. Managed-access enforcement can also require an artifact-family MANAGE ACCESS privilege for owners. WRITE alone isn’t sufficient to transfer ownership.
Known gaps
- USER is not exercised by any test