Merge pull request #39903 from nextcloud/no-dav-acl-files

don't bother checking dav acl's in files
This commit is contained in:
Robin Appelman 2023-08-18 09:52:42 +02:00 committed by GitHub
commit c7035eec05
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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)) {