Просмотр исходного кода

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

Peter Bieringer 1 год назад
Родитель
Сommit
0f87897eb7
3 измененных файлов с 3 добавлено и 2 удалено
  1. 1 0
      CHANGELOG.md
  2. 1 1
      config
  3. 1 1
      radicale/config.py

+ 1 - 0
CHANGELOG.md

@@ -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

+ 1 - 1
config

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

+ 1 - 1
radicale/config.py

@@ -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", {