mirror of
https://github.com/nextcloud/server.git
synced 2026-06-11 09:42:09 -04:00
don't bother checking dav acl's in files
any permissions for files is handled in the filesystem layer anyway Signed-off-by: Robin Appelman <robin@icewind.nl>
This commit is contained in:
parent
6d0dabedd8
commit
1a9dcc5725
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