acc_set_folder_permissions
Set or update folder permissions for users, roles, or companies, with automatic batch handling, to enforce ISO 19650 access control in your CDE.
Instructions
Grant or change folder permissions for users, roles or companies — the ISO 19650 access-control step of CDE setup (e.g. give the design team 'upload' on WIP, the client 'view_download' on Published). Automatically uses batch-create for new subjects and batch-update for subjects that already hold direct permissions on the folder. Requires CONTROL ('manage') permission on the folder.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| level | No | Permission level: view (xem) | view_download (xem+tải) | create (xem+tải+markup) | upload (create+tải lên) | edit (sửa) | manage (toàn quyền) — or 'custom' | view_download |
| folder_id | Yes | Folder URN | |
| project_id | Yes | Project id | |
| subjects_json | Yes | JSON array of subjects: [{"type": "USER", "email": "a@b.com"}, {"type": "USER", "id": "<guid>"}, {"type": "ROLE", "id": "<roleId>"}, {"type": "COMPANY", "id": "<companyId>"}] | |
| custom_actions | No | When level='custom': comma-separated actions from VIEW,DOWNLOAD,COLLABORATE,PUBLISH,PUBLISH_MARKUP,EDIT,CONTROL |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |