tascan_set_access
Set the security level of a task list (list_id) or a task (task_id): access_level (open, assigned, secured or null), human_assignees (worker ids, lists only) and agent_assignee (an agent_id of your org, or null; lists only: a task follows its list and refuses it as task_agent_assignee_unsupported). Raising it needs any write key that can see the item; lowering it or removing an assignee needs an owner/admin-tier key (an agent key is refused lower_requires_admin); a Decisions list or a passkey card never goes below assigned. The change and its access_changed ledger event are one transaction (all or nothing); access_conflict when the item changed meanwhile. Write tier.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| list_id | No | ||
| task_id | No | ||
| access_level | No | ||
| agent_assignee | No | Lists only: the agent_id whose key alone may reach the list and every task on it, or null | |
| human_assignees | No | Lists only: the full set of assigned worker ids (replaces the current set) |