Appearance
A.3: User Detail
Summary
Admins view and edit an individual user profile, account metadata, role/status fields, and can delete the user when permitted.
Role
- Primary: Admin
Entry Point
- URL:
/admin/users/:userId
Preconditions
- User is authenticated as admin.
- Target user exists.
Steps
- Admin opens a user detail page.
- Frontend loads target user data.
- Admin reviews profile and account fields.
- Admin enters edit mode.
- Admin saves changes or cancels.
- Admin can delete the user after confirmation.
Diagram
Edge Cases
- Missing user: Page shows not-found/error state.
- Delete: Successful delete navigates back to
/admin/users. - Validation: Save errors surface in the form.
Current Implementation Notes
- Frontend:
frontend/src/app/pages/admin/user-detail.tsx
Screenshot Status
- Not captured.