veryfront__update_upload_grant

Grant one user read, write or admin access to an upload or folder, or change that grant, and leave the other grants unchanged. Requires project.uploads.admin.

Risk: mutating.

Arguments

NameTypeRequiredDescription
upload_pathstringYesUpload UUID for grants on that upload, or an upload path or folder prefix resolved to the folder setting that governs it. Do not URL-encode it.
user_idstringYesUUID of the user the grant is for.
permissionstringAccess to give: read (default), write or admin.
project_referencestringProject UUID, slug or configured domain; optional when the selected context supplies a project.

Call it

JSON
{  "jsonrpc": "2.0",  "id": 1,  "method": "tools/call",  "params": {    "name": "veryfront__update_upload_grant",    "arguments": {      "upload_path": "<upload_path>",      "user_id": "<user_id>"    }  }}