Replace hasRoles calls with hasPermission in all server actions and page components. Update qualification checks (logistics, intelligence) to use permission-based checks instead of role name matching. Update staff lookup in tickets/staff.ts to query roles collection. Use enlistmentDate field on profile page instead of createdAt. |
||
|---|---|---|
| .. | ||
| page.tsx | ||