Security Rules
🔐

Security Rules

📌
Security Rules restricts users' visibility and interaction on rows and/or columns of data based on specific rules.

1. Create an Access table

An Access table is a data source table that maps users or teams to the items that they're entitled to see. To create an access table:

  • Step 1: Data section > click on the +Data source button > Import your CSV file
  • Step 2: Select Access table as a data source type
image
  • Step 3: Map how the Current user is identified to a column in your access table. You could also use other user identifiers such as user perimeter or security teams if you wanted to do it on a group level. 👇
image
image
📌
A perimeter is a segmentation of users done in Python and pushed to Kawa thanks to Kawa Client API. Find it in Settings > User profile > User perimeter 👇
image
📌
Security rules in Security Teams can only be created by a Team Admin.

To find all security rules created on your workspace, go to Data section > Homepage > Filter “Access table”

image

2. Security rules panels

2.a) Row-Level security

📌
With row-level security rules, control which users or groups have access to specific rows.

In KAWA, there are 2 ways of creating a Row-Level security rule based on an Access table.

  1. To create your security rules on a specific Access table, go to Data section > Click on your Access Table > Click on the +Create rule button.
  2. image

Customize your rule with the access table, the data source to secure and map your elements.

image
  1. To create your security rules for a specific datasource, go to Data section > Click on your data source > Row security > Click on +Create rule button.
image

Customize your rule with the access table, the data source to secure and map your elements.

image
👉🏼
Find and edit your rules in the same places you created them.

2.b) Column-Level security

📌
With column security rules, control which users or groups have access to specific columns.

To create your security rules for a specific datasource, go to: Data section > *Click on your data source* > Column security.

  • Step 1: Open Column security
  • Step 2: Click on +Create rule button
  • image
  • Step 3: Customize your rule with the column to secure, members and conditions.
image

3. Security rules Rights management

3.a) Who can create Security rules

Users with the “Manage Access Datasource, Row Level Security and Column Security“ right, can edit security rules on any data source. Find rights in Settings > Permissions:

image

3.b) Exceptions to Security rules

People in one of the following case will always have access to all the data source rows and columns:

  • The administrator
  • The workspace owner
  • The data source owner
  • Users that have the “Manage Access Datasource, Row Level Security and Column Security” rights