# admin-users fragment

**ID:** `fvcms.fragment.admin-users.001`

## What it is

The **Users & Roles** admin panel. Shows the current operator + the 5 DAO roles from `app-pact/roles-config.json` (per a493 v14) with their vote weights, breaking-change rights, and deprecation rights.

## Public API

```js
import { openAdminUsers, renderAdminUsers } from 'app-fragments/admin-users/index.js';
const panel = openAdminUsers();
```

## Recipe (10-item)

1. **purpose** — show operator + DAO role table
2. **inputs** — `window.__fvcmsOperator`, fetch `/api/fvcms/roles-config` (returns the in-repo roles-config)
3. **outputs** — a docked panel with the role table
4. **state machine** — same as other panels
5. **event bus** — none for v0.1
6. **dependencies** — `app-pact/roles-config.json` (served by the runtime)
7. **constitutional refs** — app-pact §11 (DAO actor), a493 v14 (roles-config)
8. **tier** — T2
9. **canonical home** — `app-fragments/admin-users/`
10. **recipe** — this file
