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.
{ usher: ['programme', 'door.*', 'cloakroom'] }[ 'welcome', 'programme', 'seats', 'me.tickets', 'me.pass', 'door.list', 'members', 'takings', 'settings', ]
[
{
level: 'warning',
rule: 'dead-allow',
detail: 'role "usher" allows "cloakroom" (actions) which matches nothing',
},
]Runs in this page on the installed package. The input and the expected output are defined by the example.