> For the complete documentation index, see [llms.txt](https://usermanual.ergonode.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://usermanual.ergonode.com/system/user-roles.md).

# User roles

Create and edit the user roles that users are assigned to, with their privileges and attribute privileges.

[Users](https://usermanual.ergonode.com/system/users) need to be assigned to a specific role when created. Roles can be created and edited here.

The grid lists every role with its ***User role code***, ***Description*** and the number of ***Users***. To edit a role, click on the ***edit (pen)*** icon in its row; to delete it, click on the ***bin icon*** and confirm.

<figure><img src="https://171427267-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FM9BbYBbDPiJapb75xJ2k%2Fuploads%2F6pWjfMTltWd8fNRJkCJg%2Fabf4fe09536e.png?alt=media&amp;token=23d8f6a6-87fa-46ca-bbb5-4ecfbbc94ca1" alt=""><figcaption></figcaption></figure>

To create a new one, click on *New role* in the top right corner.

<figure><img src="https://171427267-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FM9BbYBbDPiJapb75xJ2k%2Fuploads%2FkftUQL4JoxwLM1ZuSA3j%2F6146b5fbfc01.png?alt=media&amp;token=0991faaa-661f-4f76-8d82-1f93c2d603dd" alt=""><figcaption></figcaption></figure>

Fill in the user role code as it's required (it must be unique), and the role description if you like to do so. The ***Create*** and ***Create & Edit*** buttons show up once the code is filled in. ***Create*** adds the role and closes the window, so you stay on the list. Click ***Create & Edit*** to edit this role and set it up.

Now you will see three tabs, [General](https://usermanual.ergonode.com/system/user-roles/general), [Privileges](https://usermanual.ergonode.com/system/user-roles/privileges), and [Attribute privileges](https://usermanual.ergonode.com/system/user-roles/attribute-privileges) (available in higher license packages). To delete the role, click on *Remove role* in the top right corner and confirm.


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation by asking a question.

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://usermanual.ergonode.com/system/user-roles.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

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.
