User Detail Page
Component Detail
User Interface
high complexity
frontendbackend
3
Dependencies
0
Dependents
1
Entities
0
Integrations
Description
Server-rendered Next.js page exposing full profile information, role assignments, activity history summaries, and account status for a single user. Supports inline editing of profile fields and displays audit trail of account changes. Global admins see a read-only cross-organization view.
user-detail-page
Responsibilities
- Render full user profile including roles, local association, and account status
- Provide edit form for profile fields respecting multi-tenancy boundaries
- Display activity history summary and role assignment history
- Show deactivation controls with confirmation modal
- Render read-only elevated view for global admin access with audit logging
Interfaces
render(userId: string, adminContext: AdminContext): PageComponent
onEditSubmit(updates: UserProfileUpdate): Promise<void>
onDeactivateConfirm(userId: string, reason: string): Promise<void>
onRoleNavigate(roleId: string): void
Relationships
Dependencies (3)
Components this component depends on