> For the complete documentation index, see [llms.txt](https://docs.collibra.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.collibra.com/data-quality-self-hosted/admin-configuration/admin-console/role-management/dataset-management/assigning-roles-to-datasets.md).

# Assigning roles to datasets

You can manage the roles assigned to datasets on the Dataset Management page.

## Prerequisites

You have enabled ACLs for dataset access on the Security Settings page in the Admin Console.

{% hint style="info" %}
The access rights for roles dropdown menu is unavailable unless you enable ACLs for dataset access. We recommend selecting all four ACL options, including:
{% endhint %}

* Enable ACLs for dataset access (this is mandatory to access the access rights for roles dropdown menu)
* Require DATA\_PREVIEW role to see source data
* Require DATASET\_TRAIN role for dataset training access
* Require DATASET\_RULES role for dataset rule create/edit access

## Steps

{% stepper %}
{% step %}
Sign in to Data Quality & Observability (self-hosted) and click <img src="https://4121921244-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FWCrP7Albs8DfJjIQxUxw%2Fuploads%2Fgit-blob-268a786d787f353b92e094a60945df32bf9cb208%2FCogwheelIcon.svg?alt=media" alt="Cogwheel icon" data-size="line"> in the left navigation pane.
{% endstep %}

{% step %}
Click **Admin Console**.
{% endstep %}

{% step %}
Click **Role Management** and then click **Datasets**.
{% endstep %}

{% step %}
In the far right column in the row containing your dataset, click <img src="https://4121921244-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FWCrP7Albs8DfJjIQxUxw%2Fuploads%2Fgit-blob-5face7f577747d86367bf6698315172b6a3536f5%2FEditIcon.svg?alt=media" alt="Edit icon" data-size="line">.\ <i class="fa-chevrons-right">:chevrons-right:</i> The **Edit Dataset \[your dataset] role access** modal displays.
{% endstep %}

{% step %}
Map roles to your dataset by moving the roles from the **Not included** box to the **Included** box. To do this, select the role(s) you wish to map to your dataset, then click <img src="https://4121921244-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FWCrP7Albs8DfJjIQxUxw%2Fuploads%2Fgit-blob-6a7c7a806e6f4e24a51783c46471c3a50bc1d56b%2Fdq-next-arrow-icon.png?alt=media" alt="" data-size="line">. You can also filter the roles in the search fields.

{% hint style="info" %}
You can remove mapped roles from the dataset by selecting the role from the **Included** box and then clicking <img src="https://4121921244-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FWCrP7Albs8DfJjIQxUxw%2Fuploads%2Fgit-blob-0c37423f41105659535aad8c652febf274e81249%2Fdq-previous-arrow-icon.png?alt=media" alt="" data-size="line">.
{% endhint %}

![](https://4121921244-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FWCrP7Albs8DfJjIQxUxw%2Fuploads%2Fgit-blob-d1deb7a041b725ee534d7685702e640bd592f2c4%2Fdq-admin-dataset-edit-roles.png?alt=media)
{% endstep %}

{% step %}
Click the **Set access rights for roles added to this dataset** dropdown menu and select one of the following options:

{% hint style="warning" %}
This step is only available when Dataset Security is enabled on the [Security Settings](/data-quality-self-hosted/admin-configuration/admin-console/security-settings.md) page.
{% endhint %}

<table><thead><tr><th width="152">Permission</th><th>Description</th></tr></thead><tbody><tr><td>FULL</td><td><p>Grants users with the roles mapped to this dataset unrestricted access to the dataset to which they are assigned. These roles can:</p><ul><li>Use Explorer to create, edit, and run DQ Jobs.</li><li>Access the Findings page to see results from DQ Job runs.</li><li>View source data in Data Preview.</li><li>Access the Rules page to write and manage rules.</li><li>Retrain datasets.</li></ul></td></tr><tr><td>PARTIAL</td><td><p>Grants users with the roles mapped to this dataset any combination of Data Preview access, the ability to retrain datasets, and the ability to access the Rules page to write and manage rules.</p><p>After you select this option, you can grant partial access to the roles mapped to the datasets by selecting one or more of the following options:</p><ul><li>Enable Data Preview Access</li><li>Enable Training</li><li>Enable Rules Create/Edit</li></ul></td></tr><tr><td>READ_ONLY</td><td><p>Grants users with the roles mapped to this dataset access to the Findings page to see results from DQ Job runs, but restricts their access to other areas of the application. These roles have:</p><ul><li>Restricted access to Explorer to create, edit, and run DQ Jobs.</li><li>Restricted access to view source data in Data Preview.</li><li>Restricted access to the Rules page to write and manage rules.</li><li>Restricted access to retrain datasets.</li></ul></td></tr></tbody></table>
{% endstep %}

{% step %}
Click **Save**.
{% endstep %}
{% endstepper %}

{% hint style="info" %}
When Dataset Security is enabled, dataset access is required to edit, map, or retrieve datasets or business units.
{% endhint %}

For a better understanding about Collibra DQ roles, go to [Role Management](/data-quality-self-hosted/admin-configuration/admin-console/role-management/role-management.md).
