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:
parent
da04d95b75
commit
b47c76e9ca
1 changed files with 4 additions and 1 deletions
|
@ -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.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue