From 457af284e1bcf4d40be55a5d49da3dec35d925f5 Mon Sep 17 00:00:00 2001 From: Peter Bieringer Date: Mon, 30 Sep 2024 21:28:29 +0200 Subject: [PATCH] whitelist new permissions --- radicale/app/base.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/radicale/app/base.py b/radicale/app/base.py index 2132111d..28b6f262 100644 --- a/radicale/app/base.py +++ b/radicale/app/base.py @@ -126,7 +126,7 @@ class Access: def check(self, permission: str, item: Optional[types.CollectionOrItem] = None) -> bool: - if permission not in "rwdD": + if permission not in "rwdDoO": raise ValueError("Invalid permission argument: %r" % permission) if not item: permissions = permission + permission.upper()