# user-detail

## Overview

Displays user profile details including assigned roles. Provides actions for editing, status toggling, and role management.

## Screen Type

DetailView

### DetailView Details

#### Displayed Fields

- Name
- Email
- Status (ACTIVE / INACTIVE)
- Assigned Roles
- Created At
- Updated At

#### Available Actions

| Action | Condition | Requires Input | Confirmation |
| --- | --- | --- | --- |
| Edit User | — | — | — |
| Deactivate User | status is ACTIVE and not own profile | — | — |
| Reactivate User | status is INACTIVE | — | — |
| Assign Roles | — | multi-select roles | dialog |
| Remove Role | — | — | dialog |
| Back to User List | — | — | — |

## Access Control

- [user](../actors/user.md)
