sharing: extend DB with Conversion and Actions(reserved)

This commit is contained in:
Peter Bieringer
2026-03-22 21:32:12 +01:00
parent 62a8189917
commit f6d0b0b07c
5 changed files with 122 additions and 33 deletions

View File

@@ -124,7 +124,7 @@ def xml_propfind_response(
break
share_bday_automap = False
if share and share['ShareType'] == "bday":
if share and share['Conversion'] == "bday":
share_bday_automap = True
if share:
@@ -546,7 +546,7 @@ class ApplicationPartPropfind(ApplicationBase):
items_iter = itertools.chain([item], items_iter)
for item, permission in list(self._collect_allowed_items(items_iter, user)):
if self._sharing._enabled and share:
if share['ShareType'] == "bday" and not isinstance(item, storage.BaseCollection):
if share['Conversion'] == "bday" and not isinstance(item, storage.BaseCollection):
if not item.convert_vcf_to_ics():
continue
allowed_items.append((item, permission, share['ShareType']))