[Yandex Cloud documentation](../../../index.md) > [Yandex DataLens](../../index.md) > Access management > Access to objects in directories > Assigning and changing access permissions

# Assigning and changing access permissions

Only a user with the `Admin` access can assign or change access permissions for an object or folder, either directly or by confirming a request. By default, objects inherit permissions of their parent folder.

Before assigning access permissions to a user, [add](../../security/add-new-user.md) this user to DataLens.

## Assigning access permissions for an object {#grant-object}

1. On the [navigation page](https://datalens.ru/navigation), find the object of interest.

   You can filter objects by type using the navigation menu on the left.

1. Click ![image](../../../_assets/console-icons/ellipsis.svg) next to the object and select **Permissions**.
1. In the window that opens, click the button to set up permissions to your object: a connection, dataset, chart, or dashboard.


1. Enter a username or select the **All** group.



   {% note info %}
   
   Assigning permissions to [user groups](../../../organization/concepts/groups.md) is supported for [workbooks and collections](../../workbooks-collections/index.md).
   
   {% endnote %}
   

1. Optionally, write a comment for the user you are granting permissions to.
1. Specify the required permissions and click **Add**.

## Assigning access permissions for linked objects {#grant-linked-objects}

You can grant access to linked objects. For example, if you grant access to a chart, you can also grant access to a dataset and connection. To do this, when [assigning access permissions](#grant-object) for the current object, enable **Linked objects** and grant permissions to other objects linked to it.

Only a user with the `Admin` access to linked objects can assign access permissions for them. If you do not have access to administer a linked object, submit an access request. The access request must be [confirmed](#confirm-request) by a user with the `Admin` access to the object.

## Assigning access permissions for a folder {#grant-folder}

1. On the [navigation page](https://datalens.ru/navigation), find the folder of interest.
1. Click ![image](../../../_assets/console-icons/ellipsis.svg) next to the folder and select **Permissions**.
1. Assign access permissions:

   {% list tabs %}

   - For a folder

     1. In the window that opens, click **Folder access**.

     
     1. Enter a username or select the **All** group.


     1. Optionally, write a comment for the user you are granting permissions to.
     1. Specify the required permissions and click **Add**.

        The selected user or group will only get the specified access permissions for the current folder.

   - For a folder and its contents

     1. In the window that opens, click **Folder and content access**.

     
     1. Enter a username or select the **All** group.


     1. Optionally, write a comment for the user you are granting permissions to.
     1. Specify the appropriate permissions and click **Apply**.

        The selected user or group will get the specified access permissions for the current folder and all nested objects, including connections, datasets, and other folders and files.

        A user with the `Admin` access to the parent folder can grant access to the folder and its nested objects.

   {% endlist %}

## Confirming a request {#confirm-request}

To confirm a [request](request.md) for access to a folder or object:

1. On the [navigation page](https://datalens.ru/navigation), find the folder or object of interest.

   You can filter objects by type using the navigation menu on the left.

1. Click ![image](../../../_assets/console-icons/ellipsis.svg) next to the object or folder and select **Permissions**.
1. In the window that opens, click **![image](../../../_assets/console-icons/check.svg)** next to the request.
1. Optionally, select permissions.
1. Optionally, write a comment for the user requesting access.
1. Click **Confirm request**.

## Changing access permissions {#change}

To change permissions for a folder or object:

1. On the [navigation page](https://datalens.ru/navigation), find the folder or object of interest.

   You can filter objects by type using the navigation menu on the left.

1. Click ![image](../../../_assets/console-icons/ellipsis.svg) next to the object or folder and select **Permissions**.
1. Select the user with the access permission you want to change, or select the **All** group.
1. In the window that opens, specify the appropriate permissions and click **Save**.