Skip to content

Groups

Sprinkle gives you the flexibility to be in control of your data, and manage access & permissions of groups of users.

Managing, assigning & adjusting various permissions for a huge number of users can be a tedious task. Hence, use groups to efficiently manage access of similar kinds of users.

To quickly get you started with managing the accessibility, Sprinkle has default groups created.

The Admin has complete access to the tool and has no restrictions. They are in charge of administering and facilitating everything on the platform. Admins can be senior members of the data team who has detailed knowledge of the various data systems. The admin can manage other users on the platform and their access.

Their permissions are similar to an adminโ€™s, except for the administrative permissions. On the platform, they have access to everything they need to build pipelines, models, reports, dashboards, and more. They can create new datasets from data sources, build models, SQL Transforms, Reports, SQL explore, etc. The group can be used to manage and provide access to Data Engineers and Data Analysts.

This group of users can create and view reports and dashboards. In addition to consuming data assets, users can also create them using self-serve analytics features.

They have view-only permissions on reports and dashboards.

Made to provide API access, this group has permissions to view SQL Explore, Reports, and Model functionalities, along with the create and edit permissions on SQL Transform and Pipelines .

Default permissions of these default groups are covered in the permissions section below.

Sprinkle provides an option to also create groups according to the customized needs of a group of users in the organization.

To create a new group, through the left navigation panel, :mouse_three_button:click on Admin -> Access Management -> Groups. :mouse_three_button:Click on New Group.

Admin can add members to the group easily, just click on Add to get started. From the available drop-down list of the users in Sprinkle, Admin can select the users to add them to the group.

Using the easy & intuitive UI, admins can easily manage the permissions of various groups across the various modules in Sprinkle. Below is a snapshot of the default permissions for the users in various groups.

Along with permissions to various modules, the admin can also manage the access of data to the users in the groups through folders.

Navigate to the folders tab and Add Folder, in case you want to provide additional access to a specific folder to the users in the group. Read more about folders here.

Row-level security lets you manage the row-level access of the models. It lets you restrict usersโ€™ access only to the relevant rows of data in the table. For example, you can restrict users in Karnataka to access the sales data only relevant to Karnataka from the sales table.

The Row Level Security (RLS) feature allows you to define the columns on which an RLS attribute should be applied. Once configured, the selected column can be used to control data access at the row level.

Creating an RLS Attribute

To create a new RLS attribute:

  1. Navigate to Access Management โ†’ Row level security.
  2. Click + New RLS attribute in the top-right corner.
  3. A modal opens asking you to enter the Attribute Name.
  4. Enter a unique and meaningful name for the RLS attribute.
  5. Create the attribute.

Once created, the RLS attribute will be available in the Row-level security attributes list.

  1. Navigate to Admin -> Access Management โ†’ Row level security and open the required RLS attribute.
  2. In the Table assignments section, enter the table or schema name in the search box.
  3. Click Search tables.
  4. Select the required table, A modal will open
  1. Select RLS column on which you want to apply the RLS.
  2. For Entity Access -> Choose whether this RLS mapping applies to every entity associated with the table or only to entities you select.
  3. Click Add Table.

The RLS attribute is now assigned to the selected column of the table.

For example, if the RLS attribute Stlname needs to be applied to the attributes_type column of the ds_salesforcepagetest_table_2 table:

  • Table: ds_salesforcepagetest_table_2
  • Schema: sprinkletest
  • Column: attributes_type

Search for ds_salesforcepagetest_table_2 and click Search tables. The table will appear in the table assignments list.

Click Edit for the table, select attributes_type as the column, and click Save.

The Stlname RLS attribute is now applied to the attributes_type column of ds_salesforcepagetest_table_2.

Once an RLS attribute has been configured for the required table and column, you can assign values to groups or individual users.

  1. Navigate to the Groups tab within the RLS attribute.
  2. Click on +Assign Group.
  3. Select the required group from dropdown.
  4. Assign the appropriate value for the RLS attribute.
  5. Click on Assign.

The assigned RLS value will apply to users who are members of the group.

  1. Navigate to the Users tab within the RLS attribute.
  2. Click on +Assign Group.
  3. Select the required user from dropdown.
  4. Assign the appropriate value for the RLS attribute.
  5. Click on Assign.

The assigned RLS value will apply directly to the selected user.