---
title: "IContentPermissionsData | Customer's Canvas On-Premises"
canonical: "https://customerscanvas.com/docs/on-premises/design-atoms-js/reference/design-atoms-interfaces/IContentPermissionsData/"
---

# IContentPermissionsData

> A structure defining permissions for the placeholder's content.

## Interfaces

### IContentPermissionsData

#### Example

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

#### Properties

##### barcodePermissions?

```ts
optional barcodePermissions?: IBarcodePermissionsData;
```

Defines permissions for the content of barcode placeholders.

##### imagePermissions?

```ts
optional imagePermissions?: IImagePermissionsData;
```

Defines permissions for the content of image placeholders.
