package file→ .shtukbase/packages/lenses/kit/examples/access-matrix.lens.md
kit/examples/access-matrix.lens.md
15 lines, 713 B.
- ---
- type: Lens
- title: Access matrix
- icon: "🔑"
- description: "Which accesses each agent needs and in what state they are — what blocks launch"
- template: custom
- script: access-matrix.js
- style: access-matrix.css
- ---
- The rows are [agents](/product/agents.md), the columns are [accesses](/deal/access.md) that agents link to with the field `access`.
- The color is the access state: granted, requested or only needed. An empty column means no agent needs that access, and it is not shown.
- This is an example of a lens with its own layout: the `custom` template, the script and styles lie next to it (`access-matrix.js`, `access-matrix.css`),
- while cards, chips, the record page and search are shared from the set.