Back to Website
Show / Hide Table of Contents

Interface IImagePermissionsData

A structure defining the image permissions.

Package: @aurigma/design-atoms-interfaces
Examples

The following example shows how you can disallow for editing and selecting other images after adding an image to the canvas.

{
   "defaultItemsConfig": {
       "image": {
           "imagePermissions": {
               "allowChangeImage": false,
               "allowEditImage": false
           }
       }
   }
}

Properties

allowChangeImage

Allows your users to change images. This property enables the **Select image** command in menus. Also, if it is false, your users cannot change images by double-clicking. The default value is true.

Declaration
allowChangeImage?: boolean;
Property Value
Type Description
boolean

Allows your users to change images. This property enables the **Select image** command in menus. Also, if it is false, your users cannot change images by double-clicking. The default value is true.

allowEditImage

Allows your users to open the Image Editor. This property enables the **Edit** command. The default value is true.

Declaration
allowEditImage?: boolean;
Property Value
Type Description
boolean

Allows your users to open the Image Editor. This property enables the **Edit** command. The default value is true.

allowKeepOverlayColor

Allows your users to keep theoverlay color. The default value is true.

Declaration
allowKeepOverlayColor?: boolean;
Property Value
Type Description
boolean

Allows your users to keep theoverlay color. The default value is true.

Was this page helpful?
Thanks for your feedback!
Back to top Copyright © 2001–2024 Aurigma, Inc. All rights reserved.
Loading...
    Thank for your vote
    Your opinion is important to us. To provide details, send feedback.
    Send feedback