Charter · Role syntax
allow and deny
allow selects ids and deny removes ids from that selection. Within one role deny takes precedence, regardless of the order the two are written in.
{ manager: { allow: ['*'], deny: ['welcome', 'me.*'] } }[ 'welcome', 'programme', 'seats', 'me.tickets', 'me.pass', 'door.list', 'members', 'takings', 'settings', ]
[ 'programme', 'seats', 'door.list', 'members', 'takings', 'settings', ]
Runs in this page on the installed package. The input and the expected output are defined by the example.