diff --git a/lib/DAV/ACLPlugin.php b/lib/DAV/ACLPlugin.php index 0ff64151f..923060f2e 100644 --- a/lib/DAV/ACLPlugin.php +++ b/lib/DAV/ACLPlugin.php @@ -233,6 +233,9 @@ function (array $rules, array $rulesForPath) { $this->ruleManager->saveRule($rule); } + + $node->getNode()->getStorage()->getPropagator()->propagateChange($fileInfo->getInternalPath(), $fileInfo->getMtime()); + return true; }); } diff --git a/tests/stub.phpstub b/tests/stub.phpstub index 7f68ac3eb..75d09a397 100644 --- a/tests/stub.phpstub +++ b/tests/stub.phpstub @@ -812,6 +812,7 @@ namespace OCA\DAV\Connector\Sabre { class Node { public function getFileInfo(): \OCP\Files\FileInfo {} + public function getNode(): \OC\Files\Node\Node {} } }