> For the complete documentation index, see [llms.txt](https://docs.antsomi.com/cdp-365-user-guide-en/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.antsomi.com/cdp-365-user-guide-en/portal-settings/general-setting/roles.md).

# Roles

Role is the place to manage the access rights on the portal

<figure><img src="https://826840553-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FbtU4vFUxT5JkWYHePuoX%2Fuploads%2FfTHvZCiT9tpc6qwGLR0K%2Fimage.png?alt=media&amp;token=e4755b11-018a-4571-a7a8-10b1176c6c28" alt=""><figcaption></figcaption></figure>

## Create a role

* Click ![](https://826840553-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FbtU4vFUxT5JkWYHePuoX%2Fuploads%2FRVnKONnaa6AuwsUGV24b%2Fimage.png?alt=media\&token=5a6d374f-21a2-4b9f-98ca-7f5f66e174bf) to create role
*

```
<figure><img src="/files/VQXPcuxpYhzjRmq0Er8t" alt=""><figcaption></figcaption></figure>
```

* Set the configuration&#x20;
  * Name and code of the role. The code is generated by the name
    * Permission manages permission and grant permission by menus
      * Permission includes the ability of an account to view and edit menus.&#x20;
        * View: Include 4 option:
          * Everything - can view everything data on this menu
          * Management by user - can view data created by accounts managed by this account
          * Create by user - can view data created by this account
          * None - can't see this menu.
        * Edit:&#x20;
          * If can view everything, can choose edit everything, management by user, create by user or none.
          * If can view management by user, can choose edit management by user, create by user or none.
          * If can view created by user, can choose edit create by user or none.
          * If can't view this menu, then edit is also none .
      * Grant permission is the permission of an account that could grant the permission for other accounts. Can grant permission to view and Edit menus.
        * View: Include 4 option:
          * Everything - can grant permission everything data on this menu
          * Management by user - can grant permission data created by account managed by this account.
          * Create by user - can grant permission data created by this account
          * None - can't grant permission this menu.
        * Edit: Include 4 option:
          * If can grant view permission everything, can choose grant edit permission everything, management by user, created by user or none.
          * If can grant view permission management by user, can choose grant edit permission management by user, created by user or none.
          * If can grant view permission create by user, can choose grant edit permission is create by user or none.
          * If can't grant view permission this menu, then edit is also none .
  * Select users allows adding accounts in CDP 365 that could receive this role.

## Edit a Role

* Click on Role name
* On Role Detail Pop up, can change Name, Permission và user use this role.

## Other action

* Click on check box Role <img src="https://826840553-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FbtU4vFUxT5JkWYHePuoX%2Fuploads%2FkyjxYTvVVbPpMUjmg4nJ%2Fimage.png?alt=media&amp;token=375ca9a7-b7dd-46a0-b2f8-717723eaeefb" alt="" data-size="line">
* Click on Edit <img src="https://826840553-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FbtU4vFUxT5JkWYHePuoX%2Fuploads%2FNZL7skSQOur6itpI8G7c%2Fimage.png?alt=media&amp;token=bfeba7d8-86f9-4cf6-8e70-d9c3230393d6" alt="" data-size="line"> you can see the action <img src="https://826840553-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FbtU4vFUxT5JkWYHePuoX%2Fuploads%2Fn4QNMNanrWMrRtVe69K4%2Fimage.png?alt=media&amp;token=be0c8859-b22d-4fe4-a847-2552a053876e" alt="" data-size="original">
* Active: Enable this role. Apply this role to assigned account.
* Inactive: Disable this role. Don't apply this role to assigned account.
* Remove: Remove this role.


---

# 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://docs.antsomi.com/cdp-365-user-guide-en/portal-settings/general-setting/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.
