# Roles

## Overview

This gives a quick overview about the roles and their permissions.

<figure><img src="/files/r1aTfNL1EjQ12KF45TYW" alt=""><figcaption></figcaption></figure>

## Creating New Roles

1. Click the + button in the top right toolbar to add a role.

<figure><img src="/files/JhhR739oEQCXxsQ9TSQS" alt=""><figcaption></figcaption></figure>

2\. Choose a name for the new role and either copy permissions from an already existing role or add specific permissions. Finish the creation by clicking the `CREATE` button in the bottom right.

<figure><img src="/files/C61yI8FH9NGoNoFPQDXf" alt=""><figcaption></figcaption></figure>

## Editing Roles

A role can be edited in regards to its name, adding and removing custom permissions as well as copying permissions from other roles.

1. Open the edit dialog by clicking on one of the rows in the overview.

<figure><img src="/files/o7m7WsB0LzkUud8hp9Qv" alt=""><figcaption></figcaption></figure>

2. Change the name accordingly and confirm the changes by clicking the `UPDATE` button.

<figure><img src="/files/528sMxOXHJSZM4KAikEa" alt=""><figcaption></figcaption></figure>

## Deleting Roles

1. Open the edit dialog by clicking on one of the rows in the overview.

<figure><img src="/files/o7m7WsB0LzkUud8hp9Qv" alt=""><figcaption></figcaption></figure>

2. Delete the Role by clicking the `DELETE` button in the top right of the dialog.

<figure><img src="/files/DPkdepTzL4hghweR61BB" alt=""><figcaption></figcaption></figure>

3. Click the delete button in the dialog.

<figure><img src="/files/actGVanhxyOIY4JiqO72" alt=""><figcaption></figcaption></figure>


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.cybus.io/1-7-2/documentation/user-management/roles.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
