diff options
author | John Molakvoæ <skjnldsv@users.noreply.github.com> | 2023-08-24 10:06:05 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-08-24 10:06:05 +0200 |
commit | 927374fef8f45106b3fbc3a8ac1e6f617d0e8084 (patch) | |
tree | 9f789d2f4647d32484360bb7bff76d702a22cca2 /apps/dav | |
parent | d27830984c719fbc8f4f9edbe221d2f87458ac20 (diff) | |
parent | dbc80b02b9cdc4bdf8bff0cac6d5521962df754c (diff) | |
download | nextcloud-server-927374fef8f45106b3fbc3a8ac1e6f617d0e8084.tar.gz nextcloud-server-927374fef8f45106b3fbc3a8ac1e6f617d0e8084.zip |
Merge pull request #39953 from nextcloud/backport/39903/stable27
Diffstat (limited to 'apps/dav')
-rw-r--r-- | apps/dav/lib/Connector/Sabre/DavAclPlugin.php | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/apps/dav/lib/Connector/Sabre/DavAclPlugin.php b/apps/dav/lib/Connector/Sabre/DavAclPlugin.php index 7fa94d7b903..f574cec00c6 100644 --- a/apps/dav/lib/Connector/Sabre/DavAclPlugin.php +++ b/apps/dav/lib/Connector/Sabre/DavAclPlugin.php @@ -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)) { |