fix(test): grant societe client voir (262) so /thirdparties list works #20

Merged
arcodange merged 1 commits from claude/sandbox-provision-run into main 2026-06-29 20:17:21 +02:00
Owner

Validating ai_agent_sandbox's (now-working) API key against the sandbox: /thirdparties returned 404 — the voir_tous ACL trap — while /invoices, /products, /supplierinvoices all returned 200. The missing right is societe client voir (id 262), "see all thirdparties" (prod's ai_agent has it). Added to WRITE_IDS; other modules' lists are fine with plain lire. deno check passes.

Validating `ai_agent_sandbox`'s (now-working) API key against the sandbox: `/thirdparties` returned **404** — the `voir_tous` ACL trap — while `/invoices`, `/products`, `/supplierinvoices` all returned **200**. The missing right is **`societe client voir` (id 262)**, "see all thirdparties" (prod's `ai_agent` has it). Added to `WRITE_IDS`; other modules' lists are fine with plain `lire`. `deno check` passes.
arcodange added 1 commit 2026-06-29 20:17:12 +02:00
Validating ai_agent_sandbox's key against the sandbox API, /thirdparties
returned 404 (the voir_tous ACL trap) while /invoices, /products,
/supplierinvoices returned 200. The missing right is `societe client voir`
(id 262, "see all thirdparties") — prod's ai_agent has it. Added it to
WRITE_IDS so the list endpoint works; other modules' lists are fine with plain
`lire`.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
arcodange merged commit c269751422 into main 2026-06-29 20:17:21 +02:00
arcodange deleted branch claude/sandbox-provision-run 2026-06-29 20:17:22 +02:00
Sign in to join this conversation.
No Reviewers
No Label
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: arcodange-org/erp#20