Vizset is in closed beta.Request early access
Documentation: Row-level security

Govern

Row-level security

Let everyone open the same report and see only the rows they are allowed to see.

What it does

Row-level security (RLS) filters the rows of a dataset according to who is looking. A regional manager and a country manager can open the same report: each sees their own numbers.

The rule is applied to the dataset, so it holds for every visual and report built on it.

Create a rule

  1. Open Console and choose Row Level Security.

  2. Create a rule and name it.

  3. Choose the datasets it applies to.

  4. Choose the roles it applies to.

  5. Write the condition, as you would in a SQL WHERE clause.

  6. Save. The rule starts switched on.

Example

A workspace has a South region role and an Orders dataset with a region column.

SettingValue
DatasetsOrders
RolesSouth region
Conditionregion = 'South'

People with the South region role now see only rows where the region is South, in every report that uses Orders.

Switch a rule off

Each rule has an on/off switch, so you can pause a rule while you investigate a problem, without deleting it.

Embedded reports

An embedded report has no signed-in Vizset user, so the embed token carries the rule instead. Each token can have its own condition and the datasets it applies to. See Embed reports and visuals.

Important

After you add or change a rule, sign in as a user with that role, or ask one to check, and confirm they see what you expect.