You’re viewing outdated documentation. View the latest Customer’s Canvas On-Premises documentation.

IItemPermissionsConfig Interface

Applies to: Customer's Canvas On-Premises; Design Editor 4.4.25, 4.x (may differ) · Archived documentation

A structure defining common permissions for design elements.

example
{
    "defaultItemsConfig": {
        "image": {
            "itemPermissions": {
                "allowZOrderChange": false,
                "allowOpacityChange": false
            }
        }
    }
}

Properties

Optional allowOpacityChange

allowOpacityChange: boolean

Enables buttons for changing the opacity of design elements.

Optional allowRemoveOnLayoutChange

allowRemoveOnLayoutChange: boolean

Allows for removing and keeping design elements when changing layouts.

Optional allowZOrderChange

allowZOrderChange: boolean

Enables buttons for changing the z-order of design elements.

Optional itemToolbarPermissions

itemToolbarPermissions: IItemToolbarPermissionsConfig

Configures the floating toolbar for design elements. You can enable the Select Image, Edit, and Delete buttons.

Optional showDeleteButton

showDeleteButton: boolean

Outdated, use IItemToolbarPermissionsConfig.showDeleteButton instead. Enables the Delete button in the floating toolbar.

Optional showEditButton

showEditButton: boolean

Outdated, use IItemToolbarPermissionsConfig.showEditButton instead. Enables the Edit button in the floating toolbar.