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

Adapt function template discovery to the implementation

This commit is contained in:
Dipl. Ing. Péter Varkoly 2024-09-22 18:38:21 +02:00
parent 040a433696
commit d1ceb620e4
3 changed files with 13 additions and 8 deletions

View file

@ -66,8 +66,8 @@ class Rights(rights.BaseRights):
if not self._log_rights_rule_doesnt_match_on_debug:
logger.debug("logging of rules which doesn't match suppressed by config/option [logging] rights_rule_doesnt_match_on_debug")
for section in self._rights_config.sections():
group_match = False
user_match = False
group_match = None
user_match = None
try:
user_pattern = self._rights_config.get(section, "user", fallback="")
collection_pattern = self._rights_config.get(section, "collection")