promote: GRO-766, GRO-743, GRO-773, GRO-778 fixes to UAT #328

Merged
the-dogfather-cto[bot] merged 9 commits from dev into uat 2026-04-17 22:09:41 +00:00
Showing only changes of commit b980e4177c - Show all commits
+3 -1
View File
@@ -9,7 +9,9 @@ import type { PortalEnv } from "../middleware/portalSession.js";
export const portalRouter = new Hono<PortalEnv>();
// Apply middleware to all portal routes
// Apply middleware to all portal routes — NOTE: /dev-session is registered BEFORE this line
// so it is NOT subject to validatePortalSession/portalAudit (this is intentional: the endpoint
// creates the impersonation session and has no X-Impersonation-Session-Id header yet).
portalRouter.use("/*", validatePortalSession, portalAudit);
// ─── GET routes ──────────────────────────────────────────────────────────────