About row level security (RLS)

Using row level security, you can restrict data that appears in search results and Pinboards by group.

Row level security (RLS) allows you to restrict a group’s access to table row data. You do this by creating a rule that associates a filter with a group. When a group member searches, views an Answer, or otherwise works with data, ThoughtSpot evaluates the rules and prevents the display of the restricted data. Users see only the data they are permitted to see.

How does RLS impact user interactions?

The security rules apply to objects shared with users individually or through groups they are a member of. The rules restrict the visible data when users:

  • view a table

  • view a Worksheet derived from the table

  • search for data in the Worksheet or table

  • view Answers from restricted data — either that they’ve created or that were shared with them

  • interact with Pinboards from restricted data — either that they’ve created or that were shared with them

Search suggestions also fall under row-level security. If a user would not have access to the row data, then values from the row do not appear in Search suggestions.

Why use RLS?

RLS allows you to set up flexible rules that are self-maintaining. An RLS configuration can handle thousands of groups. There are several reasons you might want to use row level security:

Reason Example

Hide sensitive data from groups who should not see it.

In a report with customer details, hide potential customers (those who have not yet completed their purchase) from everyone except the sales group.

Filter tables to reduce their size, so that only the relevant data is visible.

Reduce the number of rows that appear in a very large table of baseball players, so that players who are no longer active are not shown except to historians.

Enable creation of a single Pinboard or visualization, which can display different data depending on the group who is accessing it.

Create one sales Pinboard that shows only the sales in the region of the person who views it. This effectively creates a personalized Pinboard, depending on the viewer’s region.


Related information


Was this page helpful?