Charter · Verifier rules

dead-allow (warning)

Warning. Reported when an allow pattern matches no existing id, usually an id that was renamed. The pattern grants nothing, so nothing is at risk: it is noise in the charter.

Charter
{ usher: ['programme', 'door.*', 'cloakroom'] }
Action ids
[
  'welcome',
  'programme',
  'seats',
  'me.tickets',
  'me.pass',
  'door.list',
  'members',
  'takings',
  'settings',
]
Issues for this rule
[
  {
    level: 'warning',
    rule: 'dead-allow',
    detail: 'role "usher" allows "cloakroom" (actions) which matches nothing',
  },
]
Output matches the expected value

Runs in this page on the installed package. The input and the expected output are defined by the example.