# Assign/unassign projects and roles

## Assign Projects and roles

To assign a project to a user, press the Assign Project button, select a project and a role.

<figure><img src="/files/0sw526rucrrcHYnZQ9v1" alt=""><figcaption><p>Assign Project button</p></figcaption></figure>

<figure><img src="/files/Oi88bA1qjHjkQ5OTV9wa" alt=""><figcaption><p>Selecting the project and the main role for the selected project</p></figcaption></figure>

There is an option to assign a different role to the project folder once you've assigned the project. To do this, expand the project tree and select the appropriate role from the drop-down list next to the folder you have selected.

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

If you want to restrict the selected user's access to only the specified folder, remember to assign the role with the fewest permissions and then assign the extended role to the appropriate folder.


---

# 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.aqua-cloud.io/documentation/user-administration/assign-unassign-projects-and-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.
