Add delete flag in configuration (#707)

Adds a `delete` flag to collections in `config.yml`; fixes
#593. Defaults to false. This is mostly for use with files to restrict
users from deleting settings files etc that available via the CMS.
This commit is contained in:
Richard Pullinger
2017-10-30 20:07:54 +00:00
committed by Benaiah Mischenko
parent 1bb2b56366
commit a14f25355e
4 changed files with 20 additions and 3 deletions

View File

@ -27,6 +27,7 @@ collections: # A list of collections the CMS should be able to edit
- name: "settings"
label: "Settings"
delete: false # Prevent users from deleting documents in this collection
editor:
preview: false
files: