# Managing roles and permissions

When inviting a user, Dastra offers **three possible roles** by default:&#x20;

* **Administrator**: Administrators have contributor rights and can administer workspace settings. Administrators are the only ones who can set a treatment to "published" status, create organizational units and invite new users to the workspace.&#x20;
* **Contributor**: Contributors can read and edit workspace content. They can create items and modify drafts that have not yet been published. They cannot modify workspace settings.&#x20;
* **Reader**: Readers can only view workspace content. They cannot edit content or modify workspace settings.

{% hint style="info" %}
Only **owners** can modify organization account settings and create workspaces.
{% endhint %}

## Assigning a role to a user

In Dastra, a user can have several different roles. To assign several roles to a user, go to the "Users" section of the settings

<div><figure><img src="/files/y1cOZexU89aXYpbbllZN" alt="" width="76"><figcaption></figcaption></figure> <figure><img src="/files/KE23b9utvCQcI29WTzD5" alt="" width="175"><figcaption></figcaption></figure></div>

then display user-related options

<figure><img src="/files/cqBMSrYclYBhU05bBFyQ" alt="" width="357"><figcaption></figcaption></figure>

and select the "role" corresponding to the user in question.

However, it's possible to create customized roles, potentially more suited to your organization.

## Create a custom role&#x20;

To create a custom role, you must be the owner of the organization. Simply go to Organization settings, and "Roles and permissions".

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

{% hint style="info" %}
Only the organization's owners can access the roles and permissions management screen.
{% endhint %}

To create a new role, click on "Creat new role", give it a name and then tick the "Read", "Modify", "Import" and "Export" options linked to each functionality. Once finished, click on the "Save" button at the bottom of the screen.

{% hint style="info" %}
To be effective, the new role must be assigned to one or more users. To do this, go to the "User" section, then click on the "Role" button corresponding to the user in question.
{% endhint %}

That's it, roles and permissions are set! You can now view the tutorial or start exploring Dastra's features on your own.

{% content-ref url="/pages/ymDPX7FFOx7WbxbnSdy5" %}
[Tutorial](/en/commencer/tutorial.md)
{% endcontent-ref %}


---

# 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://doc.dastra.eu/en/commencer/commencer/managing-roles-and-permissions.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.
