chartletv0.21.0

← All examples

Who may do what

Four roles against four areas of a project: read, write and none, each with its own fill and symbol so that color is never the only cue, and a dashed box for the combination nobody defined. Illustrative roles, with a phone variant.

Who may do what

examples/permission-matrix.json
{
  "schemaVersion": 1,
  "type": "heatmap",
  "title": "Who may do what",
  "source": "Illustrative roles of a documentation project",
  "width": 760,
  "height": 380,
  "heatmap": {
    "rows": [
      "Reader",
      "Contributor",
      "Maintainer",
      "Owner"
    ],
    "columns": [
      "Pages",
      "Comments",
      "Releases",
      "Settings"
    ],
    "categories": [
      "Read",
      "Write",
      "None"
    ],
    "cells": [
      {
        "row": "Reader",
        "column": "Pages",
        "category": "Read"
      },
      {
        "row": "Reader",
        "column": "Comments",
        "category": "Read"
      },
      {
        "row": "Reader",
        "column": "Releases",
        "category": "None"
      },
      {
        "row": "Reader",
        "column": "Settings",
        "category": "None"
      },
      {
        "row": "Contributor",
        "column": "Pages",
        "category": "Write"
      },
      {
        "row": "Contributor",
        "column": "Comments",
        "category": "Write"
      },
      {
        "row": "Contributor",
        "column": "Releases",
        "category": "Read"
      },
      {
        "row": "Contributor",
        "column": "Settings",
        "category": "None"
      },
      {
        "row": "Maintainer",
        "column": "Pages",
        "category": "Write"
      },
      {
        "row": "Maintainer",
        "column": "Comments",
        "category": "Write"
      },
      {
        "row": "Maintainer",
        "column": "Releases",
        "category": "Write"
      },
      {
        "row": "Maintainer",
        "column": "Settings",
        "category": "Read"
      },
      {
        "row": "Owner",
        "column": "Pages",
        "category": "Write"
      },
      {
        "row": "Owner",
        "column": "Comments",
        "category": "Write"
      },
      {
        "row": "Owner",
        "column": "Releases",
        "category": "Write"
      }
    ]
  },
  "mobile": {
    "width": 380,
    "height": 460
  }
}
Who may do what
Who may do whatHeatmap of 4 rows by 4 columns, each cell one category. Cells by category: Read 4, Write 8, None 3. 1 without a value.PagesCommentsReleasesSettingsReaderReader, Pages: ReadReader, Comments: ReadReader, Releases: NoneReader, Settings: NoneContributorContributor, Pages: WriteContributor, Comments: WriteContributor, Releases: ReadContributor, Settings: NoneMaintainerMaintainer, Pages: WriteMaintainer, Comments: WriteMaintainer, Releases: WriteMaintainer, Settings: ReadOwnerOwner, Pages: WriteOwner, Comments: WriteOwner, Releases: WriteOwner, Settings: no valueReadWriteNoneno value
Who may do whatHeatmap of 4 rows by 4 columns, each cell one category. Cells by category: Read 4, Write 8, None 3. 1 without a value.PagesCommentsReleasesSettingsReaderReader, Pages: ReadReader, Comments: ReadReader, Releases: NoneReader, Settings: NoneContributorContributor, Pages: WriteContributor, Comments: WriteContributor, Releases: ReadContributor, Settings: NoneMaintainerMaintainer, Pages: WriteMaintainer, Comments: WriteMaintainer, Releases: WriteMaintainer, Settings: ReadOwnerOwner, Pages: WriteOwner, Comments: WriteOwner, Releases: WriteOwner, Settings: no valueReadWriteNoneno value

Source: Illustrative roles of a documentation project

Show chart data
Data for Who may do what
RowColumnCategory
ReaderPagesRead
ReaderCommentsRead
ReaderReleasesNone
ReaderSettingsNone
ContributorPagesWrite
ContributorCommentsWrite
ContributorReleasesRead
ContributorSettingsNone
MaintainerPagesWrite
MaintainerCommentsWrite
MaintainerReleasesWrite
MaintainerSettingsRead
OwnerPagesWrite
OwnerCommentsWrite
OwnerReleasesWrite
OwnerSettingsno value
  • Heatmap (categories)
  • Show who may do what