Moss · Layout variants
Variants and the catalog token
Granting a layout variant does not change a principal’s catalog or its token. A variant changes how one action is rendered: it adds no action to the catalog and removes none. Example: the manager catalog, without and with programme.takings granted.
{
manager: {
extends: ['usher'],
actions: { allow: ['*'], deny: ['welcome', 'me.*'] },
data: ['*.read'],
layouts: ['programme.takings'],
},
}{
ids: [
'door.list',
'members',
'programme',
'seats',
'settings',
'takings',
],
hash: '392decf8',
}{
ids: [
'door.list',
'members',
'programme',
'seats',
'settings',
'takings',
],
hash: '392decf8',
}Computed when this site was built, by the installed package, which does not run in a browser. The site’s checks recompute it on every change.