Skip to content

Commit 9fb84ac

Browse files
committed
test(core): classify the batch upsert fork's read-admission ask as not a row-serving door
Claude-Session: https://claude.ai/code/session_017xRBcVy4VXmkQjn2MGeaWk Co-authored-by: Claude <noreply@anthropic.com>
1 parent 12dd59a commit 9fb84ac

1 file changed

Lines changed: 8 additions & 0 deletions

File tree

‎packages/core/src/security/row-serving-door-exposure.pin.test.ts‎

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -109,6 +109,14 @@ const CALLERS: Record<string, Classification> = {
109109
+ 'that only narrows the read the caller addressed, whose own door already admitted it; no row and no field of the '
110110
+ 'parent is served, and a refused parent answers `$in: []`',
111111
},
112+
'packages/metadata-protocol/src/protocol-batch-data.ts': {
113+
kind: 'not-a-door',
114+
reason:
115+
"the by-id upsert fork of `batchData` (`callerMayReadObject`): it asks the admission only to choose between the "
116+
+ 'update and create arms of a row the caller addressed on the batch data route, whose own door already judged the '
117+
+ "object's exposure; `true` still reads the row as the caller, through the engine middleware, and it serves no row "
118+
+ 'of its own',
119+
},
112120
// [#25522 cut 11] File-field hydration's `sys_file` admission, moved out of engine.ts.
113121
'packages/objectql/src/engine-file-reference-hydration.ts': {
114122
kind: 'not-a-door',

0 commit comments

Comments
 (0)