Charter · Verifier rules
re-allow (warning)
Warning. Reported when a role allows an id that a role it extends denies. This is valid, because a deny applies only to the role it is written on; it is reported so that the grant gets reviewed.
{
staff: { allow: ['*'], deny: ['takings'] },
manager: { extends: ['staff'], allow: ['takings'] },
}[
{
level: 'warning',
rule: 're-allow',
detail: 'role "manager" re-allows "takings" (actions) which an ancestor denied',
},
]Runs in this page on the installed package. The input and the expected output are defined by the example.