propfind/sharing: extend trace log
This commit is contained in:
@@ -589,6 +589,7 @@ class ApplicationPartPropfind(ApplicationBase):
|
|||||||
user = share['Owner']
|
user = share['Owner']
|
||||||
permissions_filter = share['Permissions']
|
permissions_filter = share['Permissions']
|
||||||
shares[share['PathOrToken']] = share
|
shares[share['PathOrToken']] = share
|
||||||
|
logger.trace("PROPFIND/shares: add mapping: PathOrToken=%r PathMapped=%r", share['PathOrToken'], share['PathMapped'])
|
||||||
access = Access(self._rights, user, path, permissions_filter)
|
access = Access(self._rights, user, path, permissions_filter)
|
||||||
if not access.check("r"):
|
if not access.check("r"):
|
||||||
return httputils.NOT_ALLOWED
|
return httputils.NOT_ALLOWED
|
||||||
|
|||||||
Reference in New Issue
Block a user