# Setting data restrictions for a process app

> :::note
You must have edit permissions for the app to set data restrictions for a process app.
:::

:::note
You must have edit permissions for the app to set data restrictions for a process app.
:::

## Introduction

With data restrictions, you can define which data fields or records will be visible to business users. For example, if your data contains sensitive information, you can select certain fields for data restriction. The charts and/or dashboards that use the restricted fields will not be displayed, and a message will inform the business user that the chart contains restricted data. You can also define record access policies based filters to restrict the data that will be available for business users.

By controlling the data used in dashboards and charts, you can share apps more broadly within your organization.

## Restricted fields

Restricted fields will not be available to business users in the process app. Restricted fields will not be visible in selectors, and will not be displayed in charts. Also, restricted fields are not visible when the dashboard is accessed from a received link to a dashboard. In this case, a new link should be provided, or the data should be unrestricted for the user.

:::note
When [Managing access for process apps](https://docs.uipath.com/process-mining/automation-suite/2023.10/user-guide/managing-access-for-process-apps#managing-access-for-process-apps) you can grant access to restricted fields for a user or group.
:::

### Selecting fields for data restriction

Follow these steps to select fields that should be hidden from the process app.

1. Go to the **Data settings** tab.
2. Select the field you want to restrict from the **Restricted fields** list. The restricted field is displayed below the list. See the illustration below.
3. Repeat step 2 to add more restricted fields. See the illustration below for an example.

Figure 1. Restricted fields![docs image](https://dev-assets.cms.uipath.com/assets/images/process-mining/process-mining-docs-image-129853-345cd633-39460667.webp)

The field will no longer be available in the process app. See the illustration below for an example.

Figure 2. Restricted fields in process app![docs image](https://dev-assets.cms.uipath.com/assets/images/process-mining/process-mining-docs-image-129857-37cc83b7-1fbd5e62.webp)

### Removing a restricted field

Follow these steps to revoke a data restriction.

1. Locate the field you want to remove from the **Restricted fields** list and select the Remove icon ![Remove icon](https://dev-assets.cms.uipath.com/assets/images/process-mining/process-mining-delete-icon-129868-220c2e6a-104ae3d1.webp).

   ![Remove a restricted field](https://dev-assets.cms.uipath.com/assets/images/process-mining/process-mining-remove-a-restricted-field-129872-82f530ee-ac62778a.webp)

:::note
The field is removed from the **Restricted fields** list without any warnings.
:::

## Record access policies

Record access policies are filters that define which data will be available for business users that have assigned the record access policies. In the process app the filters are applied by default for the business users that have assigned the record access policies, and the filters cannot be modified.

:::note
When [Managing access for process apps](https://docs.uipath.com/process-mining/automation-suite/2023.10/user-guide/managing-access-for-process-apps#managing-access-for-process-apps) you can assign record access policies to a user or group to restrict data access for the user.
:::

### Selecting records for data restriction

Follow these steps to select a set of records that can be assigned to a user or group.

1. Go to the **Data settings** tab.
2. Click on **+Create policy**. The **Create policy** panel opens, where you can add filters to define the record access policy. See [Filters](https://docs.uipath.com/process-mining/automation-suite/2023.10/user-guide/filters#filters) for more information on how to define filters.
   :::note
   Restricted fields cannot be selected for a record access policy.
   :::
3. Click on **Save & Next**.
4. Add a **Name** and, if needed, a **Description** for the record access policy. The Name will be displayed in the **Records access** list when adding permissions for a user or group.
5. Repeat steps **2**, **3**, and **4** to add more record access policies.

### Editing a record access policy

Follow these steps to edit a record access policy.

1. Locate the record access policy you want to edit and click .

   ![Edit record access policy](https://dev-assets.cms.uipath.com/assets/images/process-mining/process-mining-edit-record-access-policy-129887-adab9607-ab00799a.webp)
2. Change the filters as desired.
3. Select **Save and Next**.

### Removing a record access policy

Follow these steps to remove a record access policy.

1. Locate the record access policy you want to remove from the **Record access policies** list and select the Remove icon ![Remove icon](https://dev-assets.cms.uipath.com/assets/images/process-mining/process-mining-delete-icon-129868-220c2e6a-104ae3d1.webp).

## Next steps

[Managing access for process apps](https://docs.uipath.com/process-mining/automation-suite/2023.10/user-guide/managing-access-for-process-apps#managing-access-for-process-apps)
