feat: wire AWARD_MASTER into auth redirects and role-switch navigation

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
Matt
2026-04-06 16:35:34 -04:00
parent 4d68392ada
commit f61cebe6ae
3 changed files with 4 additions and 1 deletions

View File

@@ -10,6 +10,7 @@ const ROLE_DASHBOARDS: Record<string, string> = {
MENTOR: '/mentor',
OBSERVER: '/observer',
APPLICANT: '/applicant',
AWARD_MASTER: '/award-master',
}
export async function requireRole(...allowedRoles: UserRole[]) {