# XWUIPermissionMatrix

Roles-by-permissions tri-state matrix with inheritance, bulk toggles, diff preview and policy JSON output.

## BasicUsage

Default Admin / Editor / Viewer matrix.

```example
file: examples/BasicUsage.ts
html: examples/BasicUsage.html
title: BasicUsage
description: Default Admin / Editor / Viewer matrix.
```

## ReadOnly

Inspect grants without edits.

```example
file: examples/ReadOnly.ts
html: examples/ReadOnly.html
title: ReadOnly
description: Inspect grants without edits.
```

## WithDiff

Show the grant diff pane.

```example
file: examples/WithDiff.ts
html: examples/WithDiff.html
title: WithDiff
description: Show the grant diff pane.
```

## ExportPolicy

Read the policy JSON from the headless core.

```example
file: examples/ExportPolicy.ts
html: examples/ExportPolicy.html
title: ExportPolicy
description: Read the policy JSON from the headless core.
```

```api
```
