change default rights/permit_delete_collection from True to False (failsafe)

This commit is contained in:
Peter Bieringer 2024-09-29 17:44:44 +02:00
parent 40c8b3d038
commit 0f87897eb7
3 changed files with 3 additions and 2 deletions

View file

@ -4,6 +4,7 @@
* Adjustment: option [auth] htpasswd_encryption change default from "md5" to "autodetect"
* Add: option [auth] type=ldap with (group) rights management via LDAP/LDAPS
* Adjustment: option [rights] 'permit_delete_collection' change default from "True" to "False" (failsafe)
## 3.2.3
* Add: support for Python 3.13

2
config
View file

@ -113,7 +113,7 @@
#file = /etc/radicale/rights
# Permit delete of a collection (global)
#permit_delete_collection = True
#permit_delete_collection = False
[storage]

View file

@ -242,7 +242,7 @@ DEFAULT_CONFIG_SCHEMA: types.CONFIG_SCHEMA = OrderedDict([
"type": str_or_callable,
"internal": rights.INTERNAL_TYPES}),
("permit_delete_collection", {
"value": "True",
"value": "False",
"help": "permit delete of a collection",
"type": bool}),
("file", {