sharing: fix property overlay permission handling

This commit is contained in:
Peter Bieringer
2026-04-03 16:11:00 +02:00
parent a1d2ed7cf9
commit 695fb19761

View File

@@ -406,16 +406,6 @@ class BaseSharing:
if logger.isEnabledFor(logging.DEBUG):
logger.debug("TRACE/sharing/map: not active")
if share is not None:
if self.permit_properties_overlay:
if share['Permissions'] and "p" not in share['Permissions']:
# add permit permission
share['Permissions'] += "P"
else:
if share['Permissions'] and "P" not in share['Permissions']:
# add deny permission
share['Permissions'] += "p"
return share
# adjust a share