feat(suppliers): admin-only route guard and navigation integration (#196) #202
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "feat/phase-2-admin-auth-nav"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Summary
Implements Phase 2 of Supplier Management (resolves #196):
requireAdmin()inapps/management/app/(dashboard)/suppliers/layout.tsxapps/management/components/dashboard-nav.tsxadminOnly: trueso only admins see the linkdashboard-nav.test.tsx,suppliers/layout.test.ts, andauth/guard.test.tsVerification
pnpm verify:managementclean with 0 errors