Skip to content

Commit 4c31b7c

Browse files
fix(plugin-security): the dangling-delegator report line keeps the D10 invariant sentence verbatim, as the report-sink pin reads it
Claude-Session: https://claude.ai/code/session_01QK6pdbxKZiHdFApL8RYVh9 Co-authored-by: Claude <noreply@anthropic.com>
1 parent 46b4360 commit 4c31b7c

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

‎packages/plugins/plugin-security/src/security-plugin.ts‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6041,8 +6041,8 @@ export class SecurityPlugin implements Plugin {
60416041
this.logger.error?.(
60426042
`[security] getReadFilter received an on-behalf-of context for object '${object}' whose delegator ` +
60436043
`'${String(context?.onBehalfOf?.userId)}' does not exist — denying (fail-closed: a delegated read is ` +
6044-
`never scoped wider than its delegator's own, and with no delegator to intersect against it is not ` +
6045-
`scoped at all; ADR-0090 D10)`,
6044+
`never scoped wider than its delegator's own) — with no delegator to intersect against it is not ` +
6045+
`scoped at all (ADR-0090 D10)`,
60466046
);
60476047
return RLS_DENY_FILTER;
60486048
}

0 commit comments

Comments
 (0)