Skip to content

Commit 534d683

Browse files
committed
docs(changeset): the spare is the injected tenant column's only
Claude-Session: https://claude.ai/code/session_01UmqzD97e14iws6hmVhgZ5y Co-authored-by: Claude <noreply@anthropic.com>
1 parent b3682d4 commit 534d683

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎.changeset/24822-wall-judged-organization-stored.md‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ Clause-②: yes (widening) — `PostHookWriteImageCheck` gains the optional publ
1313

1414
- **`@objectstack/objectql`.**
1515
- `PostHookWriteImageCheck` (reached as `OperationContext.postHookWriteImageCheck`) gains an optional member, `judgesOrganization?: boolean`. An enforcement layer sets it when the seam's `evaluate` holds every inserted row's `organization_id` to the tenant wall.
16-
- `ObjectQL.insert` reads that member, and nothing else. When it is set, a non-system caller's explicit `organization_id` stays out of the pre-hook withhold and out of the static-`readonly` strip. The value is then stored as sent where the wall admits it, and refused by the wall where it does not.
16+
- `ObjectQL.insert` reads that member to decide. When it is set and the object's `organization_id` is the platform's injected tenant column, a non-system caller's explicit `organization_id` stays out of the pre-hook withhold and out of the static-`readonly` strip. The injected column is told apart by the registry's provenance reader; an authored column keeps the strip. The value is then stored as sent where the wall admits it, and refused by the wall where it does not.
1717
- When the member is absent or `false`, both passes run exactly as before. That covers a seam that carries only a business `check`, a stack without an enforcement layer, and `validate()`, which runs no middleware.
1818
- **`@objectstack/plugin-security`.**
1919
- Step 3.7 sets the member only where it composes the wall's own parts into an insert's stored-image seam.

0 commit comments

Comments
 (0)