tc_get_permissions
Retrieve the access control list for a folder or file in a Trimble Connect project, showing read, full, and no access permissions and inheritance status.
Instructions
Read the access control list (ACL) of a folder or file.
Args: project_id: Project ID. item_id: Folder or file ID. item_type: "FOLDER" (default) or "FILE".
Returns: {"acl": {"READ": [ids], "FULL_ACCESS": [ids], "NO_ACCESS": [ids]}, "inheritance": bool, ...}. Ids are project user ids (tc_list_project_members) or group ids (tc_list_groups); the special id "tc-groups:*" means all project members. Files support only READ and FULL_ACCESS.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| item_id | Yes | ||
| item_type | No | FOLDER | |
| project_id | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |