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

don't bother checking dav acl's in files
pull/39944/head
Robin Appelman 2023-08-18 09:52:42 +07:00 committed by GitHub
commit c7035eec05
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 5 additions and 0 deletions

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