# Adding and assigning a role

Use these procedures to add and assign a new role to a user, assign an existing role to a user, or clone a role.

{% hint style="warning" %}
**Caution:** If you make changes to an existing role, you will change the permissions of all users to whom the role is assigned.
{% endhint %}

### To add and assign a role

1. If the side menu is not visible, click <img src="/files/-Li8D5GrhOIcbhMDzQw8" alt="" data-size="line"> .
2. In the side menu, click [**Settings**](< https://platform.nexudus.com/settings>).
3. Scroll down to Users and Security, then click [**Users and security**](https://platform.nexudus.com/settings/userssecurity).
4. On the **Users and security** page, click **Security**.\
   &#x20;<img src="/files/-L_I75kEma_7MfnOpKyG" alt="" data-size="original">&#x20;
5. In the **User roles** section, click **Add user role**. This page is displayed:\
   &#x20;<img src="/files/-L_Hra_P8UuoqM1MpQBQ" alt="" data-size="original">&#x20;
6. In the **Name** box, type the name of the new role.
7. If you operate more than one coworking space, in the **Location** box, select the space to which this role applies.
8. **Optional:** In the **Users** drop-down box, select any users you want to assign the new role to.&#x20;
9. In the **Permissions** section, select the permissions for each function you wish to add to the role.
10. At the end of the page, click **Save**. The new role will appear in the list of user roles on the **Security** page.

![Creating a new user role](/files/-LiTy9k8Zh7nA0mczFfF)

### To assign a role to a user

![Assigning a user role](/files/-LiTybYhaGP-9nYnp-BO)

1. If the side menu is not visible, click <img src="/files/-LiJ7Pyn07vHhu6C77mv" alt="" data-size="line"> .
2. In the side menu, click [**Settings**](< https://platform.nexudus.com/settings>).
3. Scroll down to Users and Security, then click [**Users and security**](https://platform.nexudus.com/settings/userssecurity).
4. On the **Users and security** page, click **Security**.
5. In the **User roles** section, click the role that you to assign. The role page is displayed.
6. In the **Users** drop-down box, select the users you want to assign the role to.&#x20;
7. At the end of the page, click **Save changes**.

{% hint style="info" %}
To remove a role from a user, click **x** at the end of the user's name.<br>

![](/files/-LhLdZR1jnd_sSgRBYQb)
{% endhint %}

### To clone a role

When you want to create a new role which is similar to an existing role, using the following procedure will save you a lot of repetitive work.

1. If the side menu is not visible, click <img src="/files/-LiJ7Pyn07vHhu6C77mv" alt="" data-size="line"> .
2. In the side menu, click [**Settings**](< https://platform.nexudus.com/settings>).
3. Scroll down to Users and Security, then click [**Users and security**](https://platform.nexudus.com/settings/userssecurity).
4. On the **Users and security** page, click **Security**.
5. In the **User roles** section, do one of the following:

   * Move your pointer to the left of the user role you want to clone and select the check-box that is displayed.
   * At the end of the invoice you want to refund, click <img src="/files/-LZoDZ2DSzmI8XzHUHtt" alt="" data-size="line">.

   A pop-out menu is displayed.
6. Click **Clone rule**. A **Please confirm this action** message is displayed.
7. Click **Continue**. A copy of the user role is added to the list.
8. Open the user role and rename it.
9. In the **Permissions** section, edit the permissions as required.
10. Click **Save changes**.

![Cloning a user role](/files/-LiTyjjaSFGzYKI2v4PR)


---

# 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://legacydocs.nexudus.com/platform/settings/security/adding-and-assigning-a-role.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.
