---
title: "Roles and Permissions"
url: "https://docs.sopact.com/2/sense-ai/80/roles-and-permissions"
---

## Intro to Roles and Permissions

Roles and permissions allow you to create restricted access to surveys , contacts and resources created on Sopact Sense. 

In this tutorial we'll look at

1. How to create these roles
2. Configuring what resources the roles have access to (Surveys, contacts, specific data within surveys)
3. Assign the roles to specific users

### Fundamentals

1. All users who are owners or admins by default have access to all surveys, contacts

2. _**Users who are invited with Viewer/Editor role do not see anything by default**_, _**they need to be assigned specific custom role with specific permissions to access resources**_

 ![alice.drawio.png](/u/alice-drawio-c0OWoJ.png) 

3 steps to configure custom roles and assigning them permission

- Create a role
- Assign survey, contacts that the tole should have access to
- Assign users to the role
 

#### Step 1: Create a role

Navigate to Roles and Permissions by clicking on your profile on the top-right corner
 
 ![roles_an_permissions_1.png](/u/roles_an_permissions_1-JA8473.png) 


Create a role, like so

 ![roles_and_permissions_2.png](/u/roles_and_permissions_2-V3JQ2J.png) 

#### Step 2: Assign required permissions to the role

Click on the settings icon corresponding to the role to which we need to assign permissions.

 ![roles_and_permissions_3.png](/u/roles_and_permissions_3-m3la3M.png) 

For example, to give a role access to specific surveys, we will click on surveys, and same goes for contacts.

Users option lets us add users to the role we just created.

We can create advanced filters to restrict a role to specific records in contacts or surveys by configuring Filters, like so

 ![roles_and_permissions_4.png](/u/roles_and_permissions_4-6y1vrp.png) 

 ![roles_and_permissions_5.png](/u/roles_and_permissions_5-2mMGaQ.png) 

#### Step 3: Assign users to the role

The last step of this process is to add users to the role we just created.

 ![roles_and _permissions_7.png](/u/roles_and-_permissions_7-cfsMj0.png) 

  ![roles_and_permissions_6.png](/u/roles_and_permissions_6-jrz5hJ.png) 




