Reputation: 230
Snowflake follows the role-based access control (RBAC) paradigm. Best practice for RBAC is, to have functional and access roles managing either user and clients or access privileges. This creates in worst-case a variety of roles that inherits permissions from and to each other. By nature, one can easily lose sight.
In snowflake, grants to roles and users are stored in ACCESS_USAGE.GRANTS_TO_ROLES
and ACCESS_USAGE.GRANTS_TO_USERS
. What is a proper approach to identify the data stewards/owner of a role automatically (if not labeled explicitly in a 3rd party tooling)?
Options I thought of:
OWNERSHIP
privileges of roles of roles (will generate a lot of false positives)Upvotes: 0
Views: 90
Reputation: 9798
A couple of options:
Upvotes: 1