> For the complete documentation index, see [llms.txt](https://docs.appinvento.io/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.appinvento.io/product-guides/set-access-permissions.md). Agents can also search and read this documentation through its [MCP server](https://docs.appinvento.io/~gitbook/mcp).

# Set Access Permissions

This page empowers you to fine-tune the access permissions for different roles within your project, allowing for precise control over user privileges and functionalities.

In order to allow users to access the entity, we need to set its permissions.

Permissions can be controlled separately for each of the following actions:

* **Create**
* **Update**
* **Get**
* **List**
* **Paginate**
* **Remove**

These actions can be set to one of the following:

* **Public** - No authentication is necessary, granting access to all users, regardless of their assigned roles.
* **All Roles** - All roles have the capability to perform the action without any restrictions.
* **Granular** - Only specific roles that have been designated can carry out the action, providing a more fine-tuned level of control over access permissions.

### Set Collection Permissions[​](https://docs.amplication.com/first-app/#set-entity-permissions) <a href="#set-entity-permissions" id="set-entity-permissions"></a>

By default, all of the actions are set as **All Roles**.

In this example, some of the actions have been changed to **Public**, while the others remain as **All Roles.**

<figure><img src="https://2810365251-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FgP0cRbdOIxOXdkck4jYz%2Fuploads%2FgTULeEdhA53b69wpIBym%2Fset%20permission.png?alt=media&amp;token=3933484d-9e86-49b1-a6ea-0793ec8b3d2b" alt=""><figcaption></figcaption></figure>

In the following example, we use the **Granular** setting to fine-tune the permissions for a role.

1. To access the permission settings for a specific collection, navigate to the Overview page and choose either the **Create Collections** option or select **Collections** from the left menu.
2. Locate the desired collection and click on i&#x74;*,* From there click on the **Set Permissions**. This opens the permission settings.
3. By default, all actions including Create, Update, Get, List, Paginate, and Remove are initially set to be accessible by **All Roles**.
4. Fine-tune permissions by changing the *Delete* permissions from **All Roles** to **Granular** and then select from the displayed roles the *Admin* role. This ensures that only users with the *Admin* role can delete projects.

<figure><img src="https://2810365251-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FgP0cRbdOIxOXdkck4jYz%2Fuploads%2FDCa1zGV4xkHqZ5JK5L97%2FPermission.png?alt=media&amp;token=72957b00-cf82-4802-8769-6d8ae012e9c4" alt=""><figcaption></figcaption></figure>

### Set Field Permissions[​](https://docs.amplication.com/first-app/#set-field-permissions) <a href="#set-field-permissions" id="set-field-permissions"></a>

Next, we will proceed to establish permissions at the field level.

To add field-level permissions in the **Update** action, simply click the downward arrow, then select **+ Add Field.** From the provided drop-down list, choose the specific fields for which you wish to grant access to updates.

<figure><img src="https://2810365251-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FgP0cRbdOIxOXdkck4jYz%2Fuploads%2FCqqJYIgU8cjWQ2dpWkNs%2Fadd%20fields%20for%20permission.png?alt=media&amp;token=8eec0140-3d34-43ed-8122-24a9ac57b315" alt=""><figcaption></figcaption></figure>

Click on the **Save** button to save your changes.
