Link Search Menu Expand Document

Feature Restriction

In GEVME Virtuals there are feature restrictions which manage the access to certain features depending on user roles.

The following section documents the restrictions to be applied on experience/template.json.

Overall Blocks Level

Restriction Values Description
preventAdd boolean Prevents new blocks to be added on a livepage
preventDelete object
{
MANAGER: boolean
SPONSOR: boolean
}
Prevents deletion of blocks by a user type
preventEdit Prevents editing of blocks by a user type
preventChangeType Prevents a user type from changing the type of blocks
preventBlockSettings Prevents a user type from changing the block settings
enabledBlocks array An array of blocks allowed. Eg: “enabledWidgets": ["Header", "live-bar", …]

Single Block Level

Restriction Values Description
preventChangeType object
{
MANAGER: boolean
SPONSOR: boolean
}
Prevents deletion of the block by a user type
preventEdit Prevents editing of the block by a user type
preventDelete Prevents deletion of the block by a user type
enabledBlocks array An array of blocks allowed when swapping the block. Eg: “enabledWidgets": ["header", "live-bar", …]