☁️ Loving our new documentation website? Provide feedback in the CloudCannon Community! ✨

disable_add

Table of contents

Description:

This key toggles whether team members can use the + Add button in the top right of the Collection browser to add files to a Collection.

Setting this key to true will prevent team members from adding new files through the Collection browser. This key does not affect your ability to add files using the File browser.

If both disable_add and disable_add_folder are set to true, the + Add button will not appear in the top right of the Collection browser.

Appears in:
└── collections_config
    └── *
        └── disable_add
Type:
boolean
Default value:
false
Examples:

In this example, we want to prevent team members from adding new files to the data Collection through the Collection browser.

Copied to clipboard
collections_config:
  data:
    disable_add: true
{
  "collections_config": {
    "data": {
      "disable_add": true
    }
  }
}
Open in a new tab