Charter · Role syntax
Id list (shorthand)
The shorthand form of a role: an array of ids or patterns. It selects the ids that match and no others, in the actions section only. In the example guest resolves to welcome and programme.
{ guest: ['welcome', 'programme'] }[ 'welcome', 'programme', 'seats', 'me.tickets', 'me.pass', 'door.list', 'members', 'takings', 'settings', ]
['welcome', 'programme']
Runs in this page on the installed package. The input and the expected output are defined by the example.