Skip to content

Commit

Permalink
Merge pull request #39953 from nextcloud/backport/39903/stable27
Browse files Browse the repository at this point in the history
  • Loading branch information
skjnldsv authored Aug 24, 2023
2 parents d278309 + dbc80b0 commit 927374f
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions apps/dav/lib/Connector/Sabre/DavAclPlugin.php
Original file line number Diff line number Diff line change
Expand Up @@ -75,6 +75,11 @@ public function checkPrivileges($uri, $privileges, $recursion = self::R_PARENT,
}

public function propFind(PropFind $propFind, INode $node) {
if ($node instanceof Node) {

Check warning on line 78 in apps/dav/lib/Connector/Sabre/DavAclPlugin.php

View check run for this annotation

Codecov / codecov/patch

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

Added line #L78 was not covered by tests
// files don't use dav acls
return;

Check warning on line 80 in apps/dav/lib/Connector/Sabre/DavAclPlugin.php

View check run for this annotation

Codecov / codecov/patch

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

Added line #L80 was not covered by tests
}

// If the node is neither readable nor writable then fail unless its of
// the standard user-principal
if (!($node instanceof User)) {
Expand Down

0 comments on commit 927374f

Please sign in to comment.