mirror of
https://github.com/nextcloud/server.git
synced 2026-02-20 00:12:30 -05:00
Merge pull request #39903 from nextcloud/no-dav-acl-files
don't bother checking dav acl's in files
This commit is contained in:
commit
c7035eec05
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)) {
|
||||
|
|
|
|||
Loading…
Reference in a new issue