Skip to content

Commit

Permalink
fix: update parent etag when changing acl rules
Browse files Browse the repository at this point in the history
Signed-off-by: Robin Appelman <robin@icewind.nl>
  • Loading branch information
icewind1991 authored and backportbot[bot] committed Oct 10, 2024
1 parent da4a5ec commit 701c85c
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions lib/DAV/ACLPlugin.php
Original file line number Diff line number Diff line change
Expand Up @@ -248,6 +248,9 @@ function (array $rules, array $rulesForPath) {
$this->ruleManager->saveRule($rule);
}


$node->getNode()->getStorage()->getPropagator()->propagateChange($fileInfo->getInternalPath(), $fileInfo->getMtime());

Check failure on line 252 in lib/DAV/ACLPlugin.php

View workflow job for this annotation

GitHub Actions / static-psalm-analysis

UndefinedInterfaceMethod

lib/DAV/ACLPlugin.php:252:11: UndefinedInterfaceMethod: Method (Sabre\DAV\INode&OCA\DAV\Connector\Sabre\Node)::getNode does not exist (see https://psalm.dev/181)

return true;
});
}
Expand Down

0 comments on commit 701c85c

Please sign in to comment.