nuxt-x-app-admin
Roles Permission Matrix
Visual permission grid grouped by category, with two-way binding of the selected permission IDs.
Roles Permission Matrix
Visual permission grid grouped by category, with two-way binding of the selected permission IDs.
Components
<XAdminRolesPermissionMatrix />
Props, events, and behaviour reflect the actual <script setup> of XAdmin/Roles/PermissionMatrix.vue in @xenterprises/nuxt-x-app-admin.
<XAdminRolesPermissionMatrix />
Props
| Prop | Type | Default | Description |
|---|---|---|---|
modelValue | Array | [] | v-model array of selected permission IDs. |
permissions | Array | [] | Full permission list — each item is { id, name, category, action }. |
Emits
| Event | Payload | Description |
|---|---|---|
update:modelValue | varies | Standard v-model update for modelValue. |
AI Context
component: XAdminRolesPermissionMatrix
package: "@xenterprises/nuxt-x-app-admin"
category: Roles
source: app/components/XAdmin/Roles/PermissionMatrix.vue
use-when: Visual permission grid grouped by category, with two-way binding of the selected permission IDs.
