1
0
Fork 0
mirror of https://github.com/Kozea/Radicale.git synced 2025-08-07 18:30:54 +00:00

add option for global permit of delete of collection (default: True to avoid breaking change)

This commit is contained in:
Peter Bieringer 2024-03-09 06:43:39 +01:00
parent ab28d65343
commit 08a4c792b1
4 changed files with 21 additions and 8 deletions

View file

@ -184,6 +184,10 @@ DEFAULT_CONFIG_SCHEMA: types.CONFIG_SCHEMA = OrderedDict([
"help": "rights backend",
"type": str_or_callable,
"internal": rights.INTERNAL_TYPES}),
("permit_delete_collection", {
"value": "True",
"help": "permit delete of a collection",
"type": bool}),
("file", {
"value": "/etc/radicale/rights",
"help": "file for rights management from_file",