# Roles management

{% hint style="info" %}
*<mark style="color:blue;">Path:</mark>* *<mark style="color:blue;">SBO > Access Rights > Roles Management</mark>*
{% endhint %}

* [Definition](#id-1.16.x-rolesmanagement-definition)
* [Create roles](#id-1.16.x-rolesmanagement-createroles)
* [Read the role management page](#id-1.16.x-rolesmanagement-readtherolemanagementpage)
* [Update the roles](#id-1.16.x-rolesmanagement-updatetheroles)
* [Delete roles](#id-1.16.x-rolesmanagement-deleteroles)
* [Related resources](#id-1.16.x-rolesmanagement-relatedresources)

## Definition <a href="#id-1.16.x-rolesmanagement-definition" id="id-1.16.x-rolesmanagement-definition"></a>

By creating or modifying roles, super-administrators will be able to configure their rights:

* Administrator roles are used to invite other administrators to access the back office.
* Offerers & Askers roles are used depending on their needs on the platform :
  * Offerers will be the users who do/propose a service
  * Askers will be the users who request/needs a service

The role type Asker/Offerer also depend on the switch parameter of the platform.

Set who has access to which features in the *“*[*rights management*](/v2.0/superadmin/access-rights/rights-management.md)*”* section.

<mark style="color:orange;background-color:yellow;">WHO CAN USE THIS FEATURE?</mark>

Logged super-administrator

Administrators cannot access this part of the SBO.

## Create roles <a href="#id-1.16.x-rolesmanagement-createroles" id="id-1.16.x-rolesmanagement-createroles"></a>

*To create a role, super-administrators can click “Add a role” (figure 1), at the top of the page.*

<figure><img src="/files/HpxP8UwUOsi5fkLsMxaR" alt=""><figcaption><p>Figure 1</p></figcaption></figure>

A modal will appear (figure 2).

<figure><img src="/files/D8TChLMG53UFKqiysz4m" alt=""><figcaption><p>FIgure 2</p></figcaption></figure>

First, they will have to choose in which role type (figure 2) they will put the created role.

* Administrators
* Offerer
* Askers

Write the role title to be created in the text area (figure 2).

Click “*Apply*” (figure 2) to save it.

***

## Read the role management page <a href="#id-1.16.x-rolesmanagement-readtherolemanagementpage" id="id-1.16.x-rolesmanagement-readtherolemanagementpage"></a>

When clicking “Roles Management” in the sidebar menu, super-administrators will see the role list (figure 3) available on the platform.

<figure><img src="/files/zP5VWLXnLgqIggB4rWc0" alt=""><figcaption><p>Figure 3</p></figcaption></figure>

Each role block is composed of:

* The role type :
  * Administrators
  * Offerors
  * Askers

{% hint style="warning" %} <mark style="color:orange;">The 3 roles types “Administrators”, “Offerors”, Askers” remain constant</mark>
{% endhint %}

* The created roles

## Update the roles <a href="#id-1.16.x-rolesmanagement-updatetheroles" id="id-1.16.x-rolesmanagement-updatetheroles"></a>

Edit roles by clicking the “pen” icon in the role banner (figure 4).

<figure><img src="/files/01wqDOdPQHPymx1qXoRB" alt=""><figcaption><p>FIgure 4</p></figcaption></figure>

It will open a modal (figure 5) to edit the role title.

Update the text area and save it by clicking “Apply” (figure 5).

<figure><img src="/files/l5UofmdgI6wUbesGWSR0" alt=""><figcaption><p>FIgure 5</p></figcaption></figure>

## Delete roles <a href="#id-1.16.x-rolesmanagement-deleteroles" id="id-1.16.x-rolesmanagement-deleteroles"></a>

Delete a role by clicking the trash icon from the role banner (figure 6).

<figure><img src="/files/rmJmgARrVj3HRErDQSlU" alt=""><figcaption><p>Figure 6</p></figcaption></figure>

It will open a modal (figure 7) to confirm the choice of deleting the role.

<figure><img src="/files/S2mUpWwtzrmRDaNPpseH" alt=""><figcaption><p>Figure 7</p></figcaption></figure>

{% hint style="info" %} <mark style="color:blue;">A role group cannot be empty. It must have at least one role in each group.</mark>
{% endhint %}

Super-administrators will not be able to delete a role if it is the only one in the role group.

## Related resources <a href="#id-1.16.x-rolesmanagement-relatedresources" id="id-1.16.x-rolesmanagement-relatedresources"></a>

**SBO:**

* [Rights management](/v2.0/superadmin/access-rights/rights-management.md)
* [Administrators management](/v2.0/superadmin/access-rights/administrators-management.md)


---

# 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://features.scnd.com/v2.0/superadmin/access-rights/roles-management.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.
