Set Tracker entity direct permissions
tracker_entities_permissions_update_directGrant and revoke an entity's direct rights; the rest stay as they are.
Instructions
Grant and revoke an entity's direct rights; the rest stay as they are.
grant and revoke each map READ / WRITE / GRANT to users (logins or ids),
groups (ids) and roles (AUTHOR, OWNER, CLIENT, FOLLOWER, MEMBER). Returns the
resulting rights. Read them first with entities_permissions_get_direct.
Grants access: a client that honours the mark asks a person on every call.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"entity_type": "<entity_type>",
"entity_id": "<entity_id>",
"body": "<body>"
},
"name": "tracker_entities_permissions_update_direct"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| body | Yes | Typed request body for ``PATCH …/permissions`` (grant and revoke direct rights). Each side maps an access level (READ / WRITE / GRANT) to users, groups and roles; the API adds or removes exactly those and keeps the rest. ``permissionSources`` is refused (400). | |
| dry_run | No | Send nothing: answer `{dry_run: true, request}`, the first write the tool would make (null: none). | |
| entity_id | Yes | Entity id (or shortId). | |
| entity_type | Yes | Entity type: ``project``, ``portfolio`` or ``goal``. |