Skip to content

Commit a001642

Browse files
committed
docs(adr-0139): re-anchor the readable-parent probe where it now lives (packages/core)
Claude-Session: https://claude.ai/code/session_013tMiyVNzCwaUhgfUe6gg8y Co-authored-by: Claude <noreply@anthropic.com>
1 parent 5866e6e commit a001642

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎docs/adr/0139-engine-internal-semi-join-leaf-readable-parent-ids.md‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ classes stay on today's bounded fail-closed probe, by name. ⛔ Not a general su
5454

5555
One module decides which rows are judged and turns the answer into a WHERE
5656
(`packages/plugins/plugin-audit/src/parent-record-read-gate.ts#computeParentRecordFilter`); readability itself is one
57-
caller-scoped engine read per parent object (`packages/plugins/plugin-audit/src/comment-access-hooks.ts#resolveReadableParentIds`),
57+
caller-scoped engine read per parent object (`packages/core/src/security/readable-parent-ids.ts#resolveReadableParentIds`),
5858
so the parent's own CRUD grant, OWD/sharing and RLS decide and no second derivation exists. The bound is
5959
`packages/plugins/plugin-audit/src/parent-record-read-gate.ts#PARENT_GATE_SCAN_LIMIT` (2,000), the comment gate's
6060
`packages/plugins/plugin-audit/src/comment-access-hooks.ts#READ_SCAN_LIMIT` reused. The consumers, as read on

0 commit comments

Comments
 (0)