About roles

Note Roles in Data Access are not the same as global or resource roles.

In Data Access, a role is a type of access control that grants its beneficiaries access, such as Read, Write, or Admin, on data objects.

Role model granting User 1 and User 2 Read access on Table 1 and Table 2

Components of a role

A role has the following components:

Image of a role page

A role acts as a binding entity that ensures that every beneficiary that is added to the Beneficiaries section receives the level of access that is added to the Access on data objects section.

Permissions in roles

When adding a data object to a role, you can select the following high-level permissions: Read (default), Write, and Admin. These high-level permissions are automatically translated into the specific technical privileges that are required by the target data source. For example, assigning Read permissions on a Snowflake table translates into SELECT and REFERENCES privileges, while Write translates into a set of privileges including INSERT, UPDATE, and DELETE.

When you select a high-level permission, such as Read, you apply a dynamic set of privileges. If the target data source introduces a new technical privilege that maps to the Read permission, the role automatically includes the new privilege. This ensures that the beneficiaries of a role always have the complete, current set of privileges, without any manual intervention.

For more precise control, you can select granular, low-level underlying permissions that are specific to the data source, for example, granting only INSERT without DELETE. These underlying permissions are dynamically retrieved from the data source.

Dynamic rules in roles

With dynamic rules, you can define conditions that automatically determine which data objects are included in a role and which identities are granted access on the data objects, without having to select each entity individually.

Suppose that you want every member of your Sales department to have Read access on customer data. Instead of manually assigning permissions each time someone joins the Sales department or a new table is created, you can create a single role with the following dynamic rules:

When a new employee joins your Sales department, they automatically receive Read permissions on all relevant customer data. Similarly, when someone creates a new table and tags it Category:Customer, the role automatically applies to it, making the data available to the entire Sales department without any additional configuration.

Related topics