Skip to content

Commit

Permalink
Merge pull request #1224 from nextcloud/fix-file-drop-shared-folders
Browse files Browse the repository at this point in the history
Fix file drop shared folders
  • Loading branch information
ChristophWurst authored Feb 25, 2021
2 parents 801c8e4 + c278bc5 commit 52dfdb4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/ACL/ACLCacheWrapper.php
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ protected function formatCacheEntry($entry) {
if (isset($entry['permissions'])) {
$entry['scan_permissions'] = $entry['permissions'];
$entry['permissions'] &= $this->getACLPermissionsForPath($entry['path']);
if (!($entry['permissions'] & Constants::PERMISSION_READ)) {
if (!$entry['permissions']) {
return false;
}
}
Expand Down

0 comments on commit 52dfdb4

Please sign in to comment.