Issue #58: Enforce session and tenant scoping on control chat tool endpoints #65

Merged
EduarD3V merged 5 commits from issue/58-tool-endpoint-scoping into agent-develop 2026-10-07 20:21:09 +02:00
Collaborator
No description provided.
Every control-chat tool that takes a hostname now authorizes it at call
time through resolveControlScope: session membership AND tenant
visibility, fail-closed on an absent/throwing identity store. Denials are
a single text, identical for out-of-scope and never-existing hosts, so a
batch cannot enumerate hosts. run_on_machines reports the denial per host
instead of a 'skipped (not in session)' summary.

Refs #58
Refs #58
Refs #58
Refs #58
EduarD3V merged commit b64f46a32c into agent-develop 2026-10-07 20:21:09 +02:00
Sign in to join this conversation.
No description provided.