Skip to main content

IContentPermissionsData

Interfaces​

IContentPermissionsData​

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​

barcodePermissions?​
optional barcodePermissions?: IBarcodePermissionsData;

Defines permissions for the content of barcode placeholders.

imagePermissions?​
optional imagePermissions?: IImagePermissionsData;

Defines permissions for the content of image placeholders.

Was this page helpful?