Skip to content

Commit ada09f0

Browse files
committed
docs(objectql): shorten the group-posture gate comment to one line
Comment only; the round's prose stays at net zero lines. Claude-Session: https://claude.ai/code/session_01Sfe5YjBLwB9J3y8fvm2xq1 Co-authored-by: Claude <noreply@anthropic.com>
1 parent 94bb92e commit ada09f0

1 file changed

Lines changed: 1 addition & 3 deletions

File tree

‎packages/objectql/src/engine.ts‎

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7071,9 +7071,7 @@ export class ObjectQL implements IObjectQLEngine {
70717071
if (this.buildReferentialFieldClear(context as ExecutionContext | undefined)) return unbound;
70727072
const wanted = collectPredicateRelationships(schema);
70737073
if (wanted.size === 0) return unbound;
7074-
// ⛔ Under `group` a USER caller with no active organization has no `tenantId` to
7075-
// scope this read by, while its own reads are walled: it reads nothing, and
7076-
// every stored reference stays unresolved.
7074+
// ⛔ `group`: a USER caller with no `tenantId` cannot be scoped here, so it reads nothing.
70777075
const caller = context as ExecutionContext | undefined;
70787076
const readsNothing = !!caller?.userId && !carriesOrganization(caller?.tenantId)
70797077
&& postureUsesUnionScope(this.resolveEnginePosture());

0 commit comments

Comments
 (0)