IContentPermissionsConfig Interface

A structure defining permissions for the placeholder's content.

example
{
    "defaultItemsConfig": {
        "placeholder": {
            "placeholderPermissions": {
                "allowEditContent": true,
                "showSelectButton": true,
                "showHandleButton": true
            },
            "contentPermissions": {
                "imagePermissions": {
                    "allowChangeImage": true,
                    "allowEditImage": true
                },
                "barcodePermissions": {
                    "allowChangeBarcodeType": true
                }
            }
        }
    }
}

Properties

Optional barcodePermissions

barcodePermissions: IBarcodePermissionsConfig

Defines permissions for the content of barcode placeholders.

Optional imagePermissions

imagePermissions: IImagePermissionsConfig

Defines permissions for the content of image placeholders.