diff options
author | Robin Appelman <robin@icewind.nl> | 2023-08-18 09:52:42 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-08-18 09:52:42 +0200 |
commit | c7035eec05d40ec595135691cb00a25b452d655c (patch) | |
tree | b6d9de364b65eec27b49bdfb4b265abfc4f081ad | |
parent | f5f3d68eb83918bb0d01e7e20722ef8a42f6272d (diff) | |
parent | 1a9dcc57257911237cac2141ce8484acc128c2ab (diff) | |
download | nextcloud-server-c7035eec05d40ec595135691cb00a25b452d655c.tar.gz nextcloud-server-c7035eec05d40ec595135691cb00a25b452d655c.zip |
Merge pull request #39903 from nextcloud/no-dav-acl-files
don't bother checking dav acl's in files
-rw-r--r-- | apps/dav/lib/Connector/Sabre/DavAclPlugin.php | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/apps/dav/lib/Connector/Sabre/DavAclPlugin.php b/apps/dav/lib/Connector/Sabre/DavAclPlugin.php index 7fa94d7b903..f574cec00c6 100644 --- a/apps/dav/lib/Connector/Sabre/DavAclPlugin.php +++ b/apps/dav/lib/Connector/Sabre/DavAclPlugin.php @@ -75,6 +75,11 @@ class DavAclPlugin extends \Sabre\DAVACL\Plugin { } public function propFind(PropFind $propFind, INode $node) { + if ($node instanceof Node) { + // files don't use dav acls + return; + } + // If the node is neither readable nor writable then fail unless its of // the standard user-principal if (!($node instanceof User)) { |