Skip to content

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

  1. Admin opens a user detail page.
  2. Frontend loads target user data.
  3. Admin reviews profile and account fields.
  4. Admin enters edit mode.
  5. Admin saves changes or cancels.
  6. 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.