Skip to content

Commit

Permalink
Fix definition of _user_groups in rights
Browse files Browse the repository at this point in the history
  • Loading branch information
petervarkoly committed Sep 11, 2024
1 parent da04d95 commit b47c76e
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion radicale/rights/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,9 @@

from radicale import config, utils

from typing import Set


INTERNAL_TYPES: Sequence[str] = ("authenticated", "owner_write", "owner_only",
"from_file")

Expand All @@ -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.
Expand Down

0 comments on commit b47c76e

Please sign in to comment.