Bugfix Subagent
9025a8af6e
fix(auth): add scope checks to remaining protected routes and fix scope test contract
...
Three fixes for the failing CI checks (PHP api, PHP integration):
1. RouteScopeTest.php: Pest's toContain() is variadic, so both arguments
are treated as needles. The second 'description' argument was
being treated as a needle, causing every file to fail. Removed the
misleading second argument.
2. Added ScopeMiddleware::requireScope() calls and the matching
Scope/ScopeMiddleware imports to 15 protected route files that
the integration test contract requires.
3. documentation/auth/route-scope-audit.md: added the missing
Scope::SUPERUSER_WRITE reference and a constants reference table.
Also registered tests/auth/StripeInvoiceEmailTemplateTest.php in the
legacy test manifest.
2026-08-17 13:22:09 +00:00
..
2026-08-17 13:22:09 +00:00
2026-08-17 11:43:13 +00:00
2026-08-17 13:22:09 +00:00
2026-08-02 11:50:56 +02:00
2026-08-17 13:22:09 +00:00
2026-08-17 13:22:09 +00:00
2026-08-17 13:22:09 +00:00
2026-08-17 13:22:09 +00:00
2026-08-04 16:04:41 +02:00
2026-08-17 11:43:13 +00:00
2026-05-07 10:44:00 +02:00
2026-08-04 16:04:41 +02:00
2026-08-17 11:43:13 +00:00
2026-08-17 11:43:13 +00:00
2026-08-17 11:43:13 +00:00
2026-08-17 11:43:13 +00:00
2026-08-17 11:43:13 +00:00
2026-08-17 11:43:13 +00:00
2026-08-17 11:43:13 +00:00
2026-08-17 11:43:13 +00:00
2026-08-17 11:43:13 +00:00
2026-08-17 11:43:13 +00:00
2026-08-17 11:43:13 +00:00
2026-08-17 11:43:13 +00:00
2026-08-17 11:43:13 +00:00
2026-08-17 11:43:13 +00:00
2026-08-17 11:43:13 +00:00
2026-08-17 11:43:13 +00:00
2026-08-17 11:43:13 +00:00
2026-08-17 11:43:13 +00:00
2026-08-17 11:43:13 +00:00
2026-08-17 11:43:13 +00:00
2026-08-17 11:43:13 +00:00
2026-08-17 11:43:13 +00:00
2026-08-17 11:43:13 +00:00
2026-08-17 11:43:13 +00:00
2026-08-17 11:43:13 +00:00
2026-08-17 11:43:13 +00:00
2026-08-17 11:43:13 +00:00
2026-04-24 15:51:09 +02:00
2026-04-24 15:51:09 +02:00
2026-05-19 13:17:07 +02:00
2026-08-17 13:22:09 +00:00
2025-09-23 16:04:35 +02:00
2026-06-29 14:25:51 +02:00
2026-08-17 13:22:09 +00:00
2026-08-17 11:43:13 +00:00
2026-08-17 11:43:13 +00:00
2026-08-17 13:22:09 +00:00
2026-08-17 13:22:09 +00:00
2026-08-17 11:43:13 +00:00
2026-08-17 11:43:13 +00:00
2026-08-17 11:43:13 +00:00
2026-08-17 11:43:13 +00:00
2026-08-17 11:43:13 +00:00
2026-04-24 15:51:09 +02:00
2026-08-17 11:43:13 +00:00
2026-08-17 13:22:09 +00:00
2025-04-10 10:51:32 +02:00
2026-08-17 11:43:13 +00:00
2026-08-17 11:43:13 +00:00
2026-08-17 11:43:13 +00:00
2026-08-17 11:43:13 +00:00
2026-08-17 11:43:13 +00:00
2026-08-17 11:43:13 +00:00
2026-08-17 11:43:13 +00:00
2026-08-17 11:43:13 +00:00
2026-08-17 13:22:09 +00:00
2026-08-17 11:43:13 +00:00
2026-08-17 11:43:13 +00:00
2026-08-17 11:43:13 +00:00
2026-05-26 16:35:02 +02:00
2026-08-17 11:43:13 +00:00
2026-08-17 11:43:13 +00:00
2026-08-17 11:43:13 +00:00
2026-08-17 11:43:13 +00:00
2026-08-17 11:43:13 +00:00
2026-02-03 11:43:56 +01:00
2026-08-17 11:43:13 +00:00
2026-08-17 11:43:13 +00:00
2026-08-04 16:04:41 +02:00
2026-05-27 17:35:16 +02:00
2026-08-17 11:43:13 +00:00
2026-08-17 11:43:13 +00:00
2026-08-17 11:43:13 +00:00
2026-08-17 11:43:13 +00:00
2026-08-17 11:43:13 +00:00
2026-08-17 11:43:13 +00:00
2026-08-04 16:04:41 +02:00
2026-08-17 11:43:13 +00:00
2026-08-17 13:22:09 +00:00
2026-02-11 17:13:25 +01:00
2026-08-17 12:12:47 +00:00
2026-08-17 11:43:13 +00:00
2026-08-17 11:43:13 +00:00
2026-08-17 11:43:13 +00:00
2026-08-17 11:43:13 +00:00
2026-08-17 11:43:13 +00:00
2026-08-17 11:43:13 +00:00
2026-08-17 11:43:13 +00:00
2026-08-17 11:43:13 +00:00
2026-08-17 11:43:13 +00:00
2026-08-17 11:43:13 +00:00
2026-08-17 11:43:13 +00:00
2026-08-17 11:43:13 +00:00
2026-08-17 11:43:13 +00:00
2026-08-17 11:43:13 +00:00
2026-08-17 11:43:13 +00:00
2026-08-02 11:50:56 +02:00
2026-08-04 16:04:41 +02:00
2025-09-01 10:11:37 +02:00
2026-08-17 11:43:13 +00:00
2026-08-17 13:22:09 +00:00
2026-08-17 11:43:13 +00:00
2026-08-17 13:22:09 +00:00
2026-08-17 11:43:13 +00:00