use optional permissions filter

This commit is contained in:
Peter Bieringer
2026-02-22 12:49:58 +01:00
parent 58bf84e595
commit aa038cad01

View File

@@ -75,7 +75,8 @@ class ApplicationPartProppatch(ApplicationBase):
def do_PROPPATCH(self, environ: types.WSGIEnviron, base_prefix: str,
path: str, user: str, remote_host: str, remote_useragent: str) -> types.WSGIResponse:
"""Manage PROPPATCH request."""
access = Access(self._rights, user, path)
permissions_filter = None
access = Access(self._rights, user, path, permissions_filter)
if not access.check("w"):
return httputils.NOT_ALLOWED
try: