mirror of
https://github.com/nextcloud/server.git
synced 2026-06-12 02:00:51 -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
7901a7059f
commit
dbc80b02b9
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