How is role hierarchy established in Snowflake?
How is role hierarchy established in Snowflake?
In Snowflake, a role hierarchy is established by granting one role to another role. This action creates a parent-child relationship between the roles, where the granted role becomes a 'child' and inherits permissions from the 'parent' role, effectively creating the hierarchy.
"Granting a role to another role creates a “parent-child” relationship between the roles (also referred to as a role hierarchy)."
C https://docs.snowflake.com/en/sql-reference/sql/grant-role#:~:text=GRANT%20ROLE-,GRANT%20ROLE,-Assigns%20a%20role