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

Fix definition of _user_groups in rights

This commit is contained in:
Dipl. Ing. Péter Varkoly 2024-09-12 00:59:26 +02:00
parent da04d95b75
commit b47c76e9ca

View file

@ -36,6 +36,9 @@ from typing import Sequence
from radicale import config, utils
from typing import Set
INTERNAL_TYPES: Sequence[str] = ("authenticated", "owner_write", "owner_only",
"from_file")
@ -57,7 +60,7 @@ def intersect(a: str, b: str) -> str:
class BaseRights:
_user_groups: set[str] = set([])
_user_groups: Set[str] = set([])
def __init__(self, configuration: "config.Configuration") -> None:
"""Initialize BaseRights.