Charter · Verifier rules
dead-deny (error)
Error. Reported when a deny pattern matches no existing id, usually a typo. A deny that matches nothing protects nothing, so verifyCharter reports it instead of ignoring it.
{
member: ['me.*'],
manager: { allow: ['*'], deny: ['me.*', 'takngs'] },
}[ 'welcome', 'programme', 'seats', 'me.tickets', 'me.pass', 'door.list', 'members', 'takings', 'settings', ]
[
{
level: 'error',
rule: 'dead-deny',
detail: 'role "manager" denies "takngs" (actions) which matches nothing — silent means unprotected',
},
]Runs in this page on the installed package. The input and the expected output are defined by the example.