Commit 80a8913
committed
fix: verify viewer API key validity after role demotion
Add a diagnostic check that calls auth.info with the viewer's
full-access key after the role change. If the key was invalidated,
the dependent tests are skipped with a clear message rather than
failing with empty tool sets.
https://claude.ai/code/session_0122umEU4tP9VMzCTrV6SdZN1 parent af0b6c0 commit 80a8913
1 file changed
+15
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
465 | 465 | | |
466 | 466 | | |
467 | 467 | | |
| 468 | + | |
| 469 | + | |
| 470 | + | |
| 471 | + | |
| 472 | + | |
| 473 | + | |
| 474 | + | |
| 475 | + | |
| 476 | + | |
| 477 | + | |
| 478 | + | |
| 479 | + | |
| 480 | + | |
| 481 | + | |
| 482 | + | |
468 | 483 | | |
469 | 484 | | |
470 | 485 | | |
| |||
0 commit comments