Skip to content

Commit f3a117f

Browse files
committed
docs(adr): ADR-0147 D-d names every in-process judge of a compiled RLS predicate
Claude-Session: https://claude.ai/code/session_01ADHkmSNasUm3e1dfbV5aaD Co-authored-by: Claude <noreply@anthropic.com>
1 parent d55c14e commit f3a117f

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎docs/adr/0147-membership-scoped-rls-lowers-to-an-engine-internal-org-member-semi-join-leaf.md‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -205,7 +205,7 @@ the floor path the evaluator is handed `$in: S` and answers exactly as today.
205205
| `driver-odata` (`packages/drivers/driver-odata/src/odata-driver.ts`, which refuses `ReadableIds`) | **floor** |
206206
| a driver this repository does not ship | **floor**, unless it declares that it compiles the leaf |
207207
| an outer object bound to another datasource than `sys_member` | **floor**: no driver evaluates a subquery across two datasources (ADR-0139 D5.3's reason) |
208-
| the in-process judges: the write gate's `check` and a field permission's `when`, judged by `packages/formula/src/matches-filter.ts#matchesFilterCondition` through `packages/plugins/plugin-security/src/security-plugin-object-inputs.ts` | **floor** |
208+
| the in-process judges, the plugin-security callers of `packages/formula/src/matches-filter.ts#matchesFilterCondition` that judge a compiled RLS predicate: the write gate's `check` (`packages/plugins/plugin-security/src/rls-check-stored-form.ts`, `packages/plugins/plugin-security/src/security-plugin-rls-filter.ts`), a field permission's `when` (`packages/plugins/plugin-security/src/security-plugin-object-inputs.ts`) and the explainer (`packages/plugins/plugin-security/src/explain-engine.ts`) | **floor** |
209209

210210
- **Chosen up front.** The engine picks the leaf or the floor before the driver call, from a declaration the driver
211211
makes and the engine consults. ⛔ It never catches a refusal and retries with the array (ADR-0139 D5: "the probe is

0 commit comments

Comments
 (0)