ShtukbaseStandard
package file→ .shtukbase/packages/lenses/kit/examples/access-matrix.lens.md

kit/examples/access-matrix.lens.md

15 lines, 713 B.

  1. ---
  2. type: Lens
  3. title: Access matrix
  4. icon: "🔑"
  5. description: "Which accesses each agent needs and in what state they are — what blocks launch"
  6. template: custom
  7. script: access-matrix.js
  8. style: access-matrix.css
  9. ---
  10. The rows are [agents](/product/agents.md), the columns are [accesses](/deal/access.md) that agents link to with the field `access`.
  11. 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.
  12. 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`),
  13. while cards, chips, the record page and search are shared from the set.