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

disable_add_folder

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 subfolders to a Collection.

Setting this key to true will prevent team members from adding new subfolders through the Collection browser. This key does not affect your ability to add subfolders 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_folder
Type:
boolean
Default value:
false
Examples:

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

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