Skip to content

Commit c7035ee

Browse files
authored
Merge pull request #39903 from nextcloud/no-dav-acl-files
don't bother checking dav acl's in files
2 parents f5f3d68 + 1a9dcc5 commit c7035ee

1 file changed

Lines changed: 5 additions & 0 deletions

File tree

apps/dav/lib/Connector/Sabre/DavAclPlugin.php

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -75,6 +75,11 @@ public function checkPrivileges($uri, $privileges, $recursion = self::R_PARENT,
7575
}
7676

7777
public function propFind(PropFind $propFind, INode $node) {
78+
if ($node instanceof Node) {
79+
// files don't use dav acls
80+
return;
81+
}
82+
7883
// If the node is neither readable nor writable then fail unless its of
7984
// the standard user-principal
8085
if (!($node instanceof User)) {

0 commit comments

Comments
 (0)