From f61cebe6ae4a4a31bf8ae3823b0a69f58ac9ff2a Mon Sep 17 00:00:00 2001 From: Matt Date: Mon, 6 Apr 2026 16:35:34 -0400 Subject: [PATCH] feat: wire AWARD_MASTER into auth redirects and role-switch navigation Co-Authored-By: Claude Opus 4.6 (1M context) --- src/components/layouts/admin-sidebar.tsx | 1 + src/components/layouts/role-nav.tsx | 3 ++- src/lib/auth-redirect.ts | 1 + 3 files changed, 4 insertions(+), 1 deletion(-) diff --git a/src/components/layouts/admin-sidebar.tsx b/src/components/layouts/admin-sidebar.tsx index cf8923e..0bb9ca4 100644 --- a/src/components/layouts/admin-sidebar.tsx +++ b/src/components/layouts/admin-sidebar.tsx @@ -162,6 +162,7 @@ const ROLE_SWITCH_OPTIONS: Record = { MENTOR: '/mentor', OBSERVER: '/observer', APPLICANT: '/applicant', + AWARD_MASTER: '/award-master', } export async function requireRole(...allowedRoles: UserRole[]) {