Access mapping preview
Real-time one-to-many access matrix showing matched groups from both perspectives before confirmation.
Interactive example
Loading Polaris web components…
Usage
<AccessMappingPreview leftItems={locations} rightItems={products} />Properties
| Property | Type | Default | Description |
|---|---|---|---|
| leftTitle | string | Matched locations | Source perspective title. |
| rightTitle | string | Matched products | Target perspective title. |
| leftItems | AccessMappingItem[] | Required | Resolved source items matched by rule. |
| rightItems | AccessMappingItem[] | Required | Resolved target items matched by rule. |
Design & interaction
Render live client evaluation as a visual preview only; always enforce authoritative preview hashing and authorization checks on the backend.
Accessibility
ChoiceSwitch switches perspectives; expandable parent groups use aria-expanded native buttons.
Open-source source
Available in github.com/Kaupvik/kaupvik-polaris ↗. Host apps supply authentication, native persistence, and read-back state.