--- title: "Set Resource Permission" slug: "set-resource-permission" updated: 2023-10-02T14:34:27Z published: 2023-10-02T14:34:27Z canonical: "documentation.decisions.com/set-resource-permission" --- > ## Documentation Index > Fetch the complete documentation index at: https://documentation.decisions.com/llms.txt > Use this file to discover all available pages before exploring further. # Set Resource Permission | Step Details | | --- | | **Introduced in Version** | 4.0.0 | | **Last Modified in Version** | 7.12.0 | | **Location** | Integration > Google Drive | The Set Resource Permission step modifies and manages the permissions (access rights) associated with a specific file or folder stored in a user's Google Drive account. This step is particularly useful when you need to grant or revoke access to specific users or groups. ### Prerequisites This step requires the [Google Drive](https://documentation.decisions.com/docs/google-drive-module) module to be [installed](https://documentation.decisions.com/docs/installing-modules-decisions) before it will be available in the toolbox. --- ## Properties #### Inputs | Property | Description | Data Type | | --- | --- | --- | | Credential | The authentication credentials or access token required to authorize and authenticate the operation. | GoogleDriveCredential | | File or Folder ID | This input specifies the ID of the file or folder to set the permissions on. **Find the ID**: In Google Drive, locate the file or folder, right-click, and select "Get Link" or "Share". A window will pop up displaying the sharing settings for the file or folder. The link will look something like the following: `https://drive.google.com/file/d/FILE_ID/view` or `https://drive.google.com/drive/folders/FOLDER_ID.`The [Get File List](/step-library/docs/get-file-list-google) and [Get Folder List](/step-library/docs/get-folder-list-google) steps will also return File and Folder IDs. | String | | Permission | Provide permission data that defines a user or group's access rights to the specified resource. Build data on this property to specify the user's email, permission type, and role. | GoogleDrivePermission | | | User's Email | Provide the email address associated with the user you want to grant permissions to for the resource. | String | | | Permission Type | Choose the permission type for this resource, which can be a user, group, domain, anyone, or unknown. | GoogleDrivePermType | | | Role | Set the role for the user or group, which can be owner, organizer, fileOrganizer, writer, commenter, reader, or unknown. | GoogleDriveRole | #### Outputs | Property | Description | Data Type | | --- | --- | --- | | Error Info | This output provides information about any errors or issues that may have occurred during the execution of this step. It contains error codes, error descriptions, or other relevant error details. | GoogleDriveErrorInfo | | Result | This output contains a list of the users with access to the resource; each item in the list will contain metadata for the user: id, email, type, and role. | GoogleDrivePermission | ![](https://cdn.document360.io/6ef8bcc1-6489-4486-9ad1-83acff7e5df0/Images/Documentation/2023-09-29_15h50_28.png)