From c65b8fee094119db15fe62671b4803cb4f4c5bae Mon Sep 17 00:00:00 2001 From: Peter Bieringer Date: Sat, 1 Aug 2026 08:45:38 +0200 Subject: [PATCH] sharing: extend comments --- radicale/sharing/__init__.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/radicale/sharing/__init__.py b/radicale/sharing/__init__.py index 3cf8bdfd..0d0ebe8a 100644 --- a/radicale/sharing/__init__.py +++ b/radicale/sharing/__init__.py @@ -628,6 +628,7 @@ class BaseSharing: """ returning dict with PathMapped, Owner, Permissions or None if invalid""" if self.sharing_collection_by_map: logger.trace("sharing/map/resolver: check path: %r", path) + # check collection path result = self.database_get_sharing( ShareType="map", PathOrToken=path, @@ -635,7 +636,7 @@ class BaseSharing: User=user) if not result: - # fallback to parent path + # assume item path, fallback to parent path parent_path = pathutils.parent_path(path) logger.trace("sharing/map/resolver: check parent path: %r", parent_path) result = self.database_get_sharing(