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

# IShapePermissionsData

> A structure defining permissions for shapes.

## Interfaces

### IShapePermissionsData

#### Example

```json
{
   "defaultItemsConfig": {
       "rectangle": {
           "shapePermissions": {
               "allowChangeBorderColor": false,
               "allowChangeBorderWidth": false
           }
       }
   }
}
```

#### Properties

##### allowChangeBorderColor?

```ts
optional allowChangeBorderColor?: boolean;
```

Enables the **Border color** button in the Top toolbar. The default value is `true`.

##### allowChangeBorderWidth?

```ts
optional allowChangeBorderWidth?: boolean;
```

Enables the **Border width** button in the Top toolbar. The default value is `true`.

##### allowChangeFillColor?

```ts
optional allowChangeFillColor?: boolean;
```

Enables the **Fill color** button in the Top toolbar. The default value is `true`.
