We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 1c2e472 + 9a5e27d commit 6081bd0Copy full SHA for 6081bd0
apps/files_sharing/lib/Controller/ShareAPIController.php
@@ -2089,6 +2089,8 @@ private function checkInheritedAttributes(IShare $share): void {
2089
$hideDownload = $hideDownload && $originalShare->getHideDownload();
2090
// allow download if already allowed by previous share or when the current share allows downloading
2091
$canDownload = $canDownload || $inheritedAttributes === null || $inheritedAttributes->getAttribute('permissions', 'download') !== false;
2092
+ } elseif ($node->getStorage()->instanceOfStorage(Storage::class)) {
2093
+ $canDownload = true; // in case of federation storage, we can expect the download to be activated by default
2094
}
2095
2096
0 commit comments