| Role / Resource | Projects | Billing | Members | Settings |
|---|---|---|---|---|
| Admin | ||||
| Editor | ||||
| Viewer | ||||
| Guest |
Waiting for action
Copy this complete component into a page file. Edit and run it in the Playground.
Loading editor…
Role-by-resource access matrix.
| Prop | Type | Default | Description |
|---|---|---|---|
roles | string[] | — | Row headers. |
resources | string[] | — | Column headers. |
permissions | Record<string, Record<string, PermissionLevel>> | — | Levels. |
onChange | (role, resource, level) => void | — | Update handler. |