Chat conversations belong to the person and act with their access #2065

Open
opened 2026-11-20 07:51:56 +00:00 by sam · 0 comments
Owner

Today chat sessions belong to the organisation and every /api/chat route is admin-only. A conversation belongs to the person who started it: only they can list, read, continue, rename or delete it. Each turn acts as that person: the agent's tool calls, judgement and approvals use their principal and role, so an admin's chat has admin access and an operator's chat has operator access, never more. Done when an operator can chat on the binary, can't see or touch another person's conversation, and a tool call an operator isn't allowed is refused in their chat but allowed in an admin's. Part of #2023 and #2017.

Today chat sessions belong to the organisation and every /api/chat route is admin-only. A conversation belongs to the person who started it: only they can list, read, continue, rename or delete it. Each turn acts as that person: the agent's tool calls, judgement and approvals use their principal and role, so an admin's chat has admin access and an operator's chat has operator access, never more. Done when an operator can chat on the binary, can't see or touch another person's conversation, and a tool call an operator isn't allowed is refused in their chat but allowed in an admin's. Part of #2023 and #2017.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: sam/archie#2065