You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit dbf1cc0
Browse filesBrowse the repository at this point in the historyBrowse files
fix(dogfood): the audit-capability fixture's grant writes carry their holder's organization
Both `sys_user_permission_set` grant inserts in
`audit-log-audit-capability.dogfood.test.ts` ran in system context with no
organization. Under the walled posture a system insert on a tenant-scoped
object must carry one (ADR-0131 D9), so the `isolated`-posture case was
refused with SYSTEM_WRITE_ORGANIZATION_REQUIRED before any assertion ran.
Each grant now carries its holder's organization on the execution context,
the first form the refusal prescribes: the organization the walled case
created for its holder, and on the `single` boot the one organization the
holder is a member of. No assertion changes; the engine rule stays.
Claude-Session: https://claude.ai/code/session_01LmjU2x1faLZ39DVTFyVca6
Co-authored-by: Claude <noreply@anthropic.com>
0 commit comments