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.
1 parent f85ccc2 commit ba6d74bCopy full SHA for ba6d74b
apps/files_sharing/lib/Controller/ShareAPIController.php
@@ -2118,6 +2118,8 @@ private function checkInheritedAttributes(IShare $share): void {
2118
$hideDownload = $hideDownload && $originalShare->getHideDownload();
2119
// allow download if already allowed by previous share or when the current share allows downloading
2120
$canDownload = $canDownload || $inheritedAttributes === null || $inheritedAttributes->getAttribute('permissions', 'download') !== false;
2121
+ } elseif ($node->getStorage()->instanceOfStorage(Storage::class)) {
2122
+ $canDownload = true; // in case of federation storage, we can expect the download to be activated by default
2123
}
2124
2125
0 commit comments