Founding price: $35, then $99 after 23:59 UTC on 4 November, then $99
Get ProA permission tree that compares the current grants with the proposed ones, marks each row as added or removed and shows the totals before saving. Use this when changing someone's access needs a review step.
This item has no props to tune. Use the lens above to change theme, density, direction and more.
Use it for access reviews, role changes and anywhere removing a permission by accident would hurt.
Do not use it for first-time grants with nothing to compare against (use role-permission-tree).
This item is part of tealmac UI Pro
The source for this item installs with a Pro licence key. Log in with your key to see the install command, or read the Pro setup page.
| Prop | Type | Default | Description |
|---|---|---|---|
permissions | TreeNode[] | - | The permission tree. |
current | string[] | - | Today's grants. |
onSave | (next, change) => void | - | Called with the proposed set and { added, removed }. |
aria-checked (mixed for partly granted groups).The pattern ships with a Testing Library test (least-privilege-diff.test.tsx) that covers the empty diff, the tags, saving, resetting and the diff function.