---
title: Roles and permissions
description: User roles
documentId: access-control-policies
locale: en-US
---

In **Roles** you can control user permissions and manage all access according to your company's security needs and policies.
This allows you to have greater control, limiting the actions and privileges of users who use the resources available in Sensedia products.

Rules are applied to each user, ensuring that resources are accessed only by authorized people.

Roles can be assigned to a user at the time of [creation](/docs/en/new-user) or [editing](/docs/en/edit-user) of that user.

You can create and edit your roles, as shown below, or you can use the [default roles](/docs/en/default-policies).

The main **Roles** page of Access Control brings a list with existing roles.
Besides the role name, you can see the description (when it exists) and the products to which the role applies.

## Super Admin users

A user who has Super Admin role permissions can perform all available operations, however:

- a Super Admin user cannot remove themselves (that is, cannot delete their own Super Admin user);
- only a Super Admin user can remove another Super Admin;
- no user can edit the Super Admin role permissions.

| | **Remove own user** | **Remove (another) Super Admin user** | **Remove regular user** | **Edit or delete Super Admin role** | **Create, edit, delete default roles** | **Create, edit, delete roles** |
|---|---|---|---|---|---|---|
| **Super Admin** | no | yes | yes | no | no | yes |
| **Regular user** | no | no | yes | no | no | yes |

## Creating a role

To add a new role:

<Steps>
<Step>
Access **Roles** in Access Control Settings.

You can access these settings through the icon in the upper right corner of any Sensedia product screen, or through the right sidebar menu of a home page.

![access to Access Control Settings](https://creative-ball-51b3fc85c0.media.strapiapp.com/access_control_settings_bf35ed4226.png)
![highlight for the Roles link on the Platform home screen](https://creative-ball-51b3fc85c0.media.strapiapp.com/roles_89b235cabe.png)
</Step>

<Step>
On the **Roles** screen, click the **Create Role** button in the upper right corner of the screen.

![highlight for the Create Role button on the Roles screen](https://creative-ball-51b3fc85c0.media.strapiapp.com/create_role_52aef97b7c.png)
</Step>

<Step>
Enter:

- **Name**: Role name (required).
- **Description**: Role description (optional).

Click **Continue**.

![highlight for the Create Role button on the Roles screen](https://creative-ball-51b3fc85c0.media.strapiapp.com/role_information_0fc1e3fac0.png)
</Step>

<Step>
In **Assign permissions**, select the [permissions](/docs/en/permissions) you want to add to this role and click **Continue** at the bottom of the screen.

![highlight for the Assign Permissions screen](https://creative-ball-51b3fc85c0.media.strapiapp.com/assign_permissions_92ef3b2ab9.png)
</Step>

<Step>
Review the role information and click **Create Role** to complete role creation.
</Step>
</Steps>

## Editing a role

<Callout type="NOTE" title="NOTE">
[Default roles](/docs/en/default-policies) cannot be edited.
</Callout>

To edit a role, access **Roles** in Access Control Settings.

You can access these settings through the icon in the upper right corner of any Sensedia product screen, or through the right sidebar menu of a home page.

![access to Access Control Settings](https://creative-ball-51b3fc85c0.media.strapiapp.com/access_control_settings_bf35ed4226.png)
![highlight for the Roles link on the Platform home screen](https://creative-ball-51b3fc85c0.media.strapiapp.com/roles_89b235cabe.png)

### To edit role name and/or description:

<Steps>
<Step>
On the **Roles** screen, click **>** in the **Actions** column of the role row you want to edit.

![highlight for the Edit Role button on the Roles screen](https://creative-ball-51b3fc85c0.media.strapiapp.com/role_action_3cbb55ed9f.png)
</Step>

<Step>
In the **Role Info** tab, click **Edit Role**.

![Role Info highlighting the Edit Role button](https://creative-ball-51b3fc85c0.media.strapiapp.com/edit_role_3399e8436e.png)
</Step>

<Step>
Edit the role name and/or description and click **Save**.

![role editing screen](https://creative-ball-51b3fc85c0.media.strapiapp.com/edite_roles_details_4365daf636.png)
</Step>
</Steps>

### To edit role permissions:

<Steps>
<Step>
On the **Roles** screen, click **>** in the **Actions** column of the role row you want to edit.

![highlight for the Edit Role button on the Roles screen](https://creative-ball-51b3fc85c0.media.strapiapp.com/role_action_3cbb55ed9f.png)
</Step>

<Step>
Click the **Permissions** tab.

![highlight for Permissions tab](https://creative-ball-51b3fc85c0.media.strapiapp.com/role_permissions_939bb263d9.png)
</Step>

<Step>
To remove a permission, click the trash icon located in the **Remove** column of the corresponding row of the permission you want to remove.

![highlight for the trash icon in the Permissions tab](https://creative-ball-51b3fc85c0.media.strapiapp.com/remove_permission_f3b15a439e.png)
</Step>

<Step>
To add a permission:

- Click **Assign Permissions**.
- Select the permissions you want to add to the role.
- At the bottom of the screen, click **Assign n Permissions**, where 'n' is the number of permissions you selected.

![highlight for the Assign n Permissions button](https://creative-ball-51b3fc85c0.media.strapiapp.com/assing_permissions_button_dd2e5ac937.png)
</Step>
</Steps>

## Editing users associated with a role

The **USERS** tab brings the list of users who have the permissions associated with the selected role.
From this tab, you can:

- perform a keyword search for users;
- see the email, name, and status of the user(s);
- remove a user from this role (removing from that user the permissions related to this role);
- assign user(s) to the selected role (see below).

Some exceptions apply to the Super Admin role.
See the table in the Super Admin Users section above.

To edit users associated with a role:

<Steps>
<Step>
Access **Roles** in Access Control Settings.

You can access these settings through the icon in the upper right corner of any Sensedia product screen, or through the right sidebar menu of a home page.

![access to Access Control Settings](https://creative-ball-51b3fc85c0.media.strapiapp.com/access_control_settings_bf35ed4226.png)
![highlight for the Roles link on the Platform home screen](https://creative-ball-51b3fc85c0.media.strapiapp.com/roles_89b235cabe.png)
</Step>

<Step>
On the **Roles** screen, click **>** in the **Actions** column of the role row for which you want to add users.

![highlight for the Edit Role button on the Roles screen](https://creative-ball-51b3fc85c0.media.strapiapp.com/role_action_3cbb55ed9f.png)
</Step>

<Step>
Click the **USERS** tab.

![highlight for the Users tab on the Roles screen](https://creative-ball-51b3fc85c0.media.strapiapp.com/role_users_53194d91c6.png)
</Step>

<Step>
To remove a user associated with this role, click the trash icon located in the **REMOVE** column of the user row you want to remove.

The user will no longer have the permissions associated with this role.

![highlight for the trash icon in the Users tab](https://creative-ball-51b3fc85c0.media.strapiapp.com/remove_user_permission_8d842b01ef.png)
</Step>

<Step>
To assign a user to this role:

- Click **Assign Users**.
  ![highlight for the Assign Users button in the Users tab](https://creative-ball-51b3fc85c0.media.strapiapp.com/assign_users_button_d19d8de80a.png)
- Select the users you want to assign to the role.
- Click **Assign n Users**, where 'n' is the number of users you selected.

The assignment will be effective and the selected users will have the permissions associated with this role.

![highlight for the Assign Users button in the Users tab](https://creative-ball-51b3fc85c0.media.strapiapp.com/assign_users_72c357c892.png)
</Step>
</Steps>
