Commit 97d8831
committed
test(runtime): re-spell the share-links 403 pin for the localized message (#7414)
`share-links-enforcement-context.test.ts` drives the REAL security gate and
asserted `toContain('Access denied')` on the message. That string is now the
developer half (logged, not shipped); the message is the catalog's user-facing
sentence. Re-spelled against `BUILTIN_OPERATION_MESSAGES.en.permission_denied`
so the case keeps its stated purpose — proving an authorization answer reached
the client rather than being swallowed into the generic internal-error string —
without needing another re-spell on the next copy edit.
Found by CI, not by the local sweep: the rule's consumption radius is wider than
the edited package.
Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01BM1tNf5U3nEbHKR4fo5qVQ1 parent d10b998 commit 97d8831
1 file changed
Lines changed: 12 additions & 1 deletion
File tree
- packages/runtime/src/domains
Lines changed: 12 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
55 | 55 | | |
56 | 56 | | |
57 | 57 | | |
| 58 | + | |
58 | 59 | | |
59 | 60 | | |
60 | 61 | | |
| |||
605 | 606 | | |
606 | 607 | | |
607 | 608 | | |
608 | | - | |
| 609 | + | |
| 610 | + | |
| 611 | + | |
| 612 | + | |
| 613 | + | |
| 614 | + | |
| 615 | + | |
| 616 | + | |
| 617 | + | |
| 618 | + | |
| 619 | + | |
609 | 620 | | |
610 | 621 | | |
611 | 622 | | |
| |||
0 commit comments