Components/Permission Matrix

Permission MatrixNew

Roles by permissions grid with groups, select-all, indeterminate states, read-only roles and a change summary.

Permission
OwnerRead-only
Dispatcher
Driver
Auditor
All
Shipments
View shipments
Assign driversDispatch only
Cancel shipments
Vehicles
View vehicles
Log service

No changes

Capability
HR partner
Manager
Employee
All
Compensation
View salary bands
Adjust salary
Time off
Request leave
Approve leave

No changes

Installation

$npx shadcn@latest add @opendraft/permission-matrix

Needs the @opendraft registry in your components.json. See Installation.

Dependencies

Source

The files the install command adds to your project. They're yours to edit.