# Manage roles

## Create a role

To create a role, click on the `New` button at the top-right corner of the `User rights` page in the Spot settings. A creation side panel opens: &#x20;

* Give the role a **name** (required) and a **description** (optional).&#x20;
* **Define the audience scope** associated with this role. You have two options:
  * `All members` : Within the limits of the assigned permissions, the member will be able to manage all Spot members.
    * 💡 *<mark style="color:$info;">Concretely, a member with permissions related to live events will be able to manage, from the live participant list, all Spot members regardless of their group.</mark>*
  * `Limited to specific groups` : This option allows you to restrict the role’s permissions to specific audience groups. A search bar lets you select the desired groups.
    * 💡 *<mark style="color:$info;">Concretely, a member with permissions related to live events will only be able to manage, from the live participant list, members who belong to the groups selected in the role’s member scope.</mark>*
    * <mark style="color:$danger;">⛔ Important: If no groups are selected, or if the selected groups contain no members, the member assigned to this role will not be able to manage any members.</mark>
* **Enable permissions** for this role using the switches. You must select at least one permission to create a role (without any permissions, the role is equivalent to the **Member** role 😉).
  * Create and manage lives: you can choose between 2 options&#x20;
    * `Access all lives` - the member will be able to :&#x20;
      * Create lives&#x20;
      * Manage all Spot lives (access settings, invite participants, etc.)&#x20;
    * `Limit to current access` - the member can&#x20;
      * Create lives&#x20;
      * Manage (access settings, invite participants, etc.) only the lives they can see, i.e. :&#x20;
        * Public lives&#x20;
        * Private lives&#x20;
        * Secret lives to which they have been invited or which they have created.&#x20;
  * Create and manage courses: you can choose between 2 options&#x20;
    * `Access all courses` - the member can&#x20;
      * Create courses&#x20;
      * Manage all Spot courses (access settings, invite participants, etc.)&#x20;
    * `Limit to current access` - the member will be able to&#x20;
      * Create courses&#x20;
      * Manage (access settings, invite participants, etc.) only the courses they can see:&#x20;
        * Public courses&#x20;
        * Secret courses to which they have been invited or which they have created.&#x20;
  * Create and manage collections: you can choose between 2 options&#x20;
    * `Access all collections` - the member can&#x20;
      * Create collections and documents&#x20;
      * Manage all Spot collections (access settings, invite members, etc.)&#x20;
    * `Limit to current access` - the member will be able to&#x20;
      * Create courses&#x20;
      * Manage (access settings, invite members, etc.) only the courses they can see:&#x20;
        * Public collections and documents&#x20;
        * Private collections and documents to which they have been invited or which they have created.&#x20;
  * Invite members to Join the Spot
  * Access moderation and delete messages
* Click on `Create`: that's it, your role is ready to be assigned to some of your members!  :clap:

## Edit a role&#x20;

Once you've created a role, you can edit it. To do so, click on the role line in the role table. The side editing panel opens. It contains 2 tabs:&#x20;

* `General` tab. From this tab, you can modify your role's information:&#x20;
  * Name&#x20;
  * Description&#x20;
  * Audience scope
    * <mark style="color:$danger;">⛔ Important: If no groups are selected, or if the selected groups contain no members, the member assigned to this role will not be able to manage any members.</mark>
  * Rights (please note that you cannot set all rights to off).&#x20;
  * You can also delete the role by clicking on `Delete role`. Please note that you can only delete a role if no member is associated with it.&#x20;
* `Members` tab. From this tab, you can view the members associated with this role.&#x20;

{% hint style="info" %}
If you click on the 2 default roles, `Admin` and `Member`, a detail drawer opens. You'll find a brief explanation of the role in the `General` tab and the list of members associated with this role in the `Members` tab. **Please note that these roles cannot be edited or deleted.**
{% endhint %}
