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 6.15.0, 6.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 item toolbar for design elements. You can enable the Select Image, Edit, and Delete buttons.