Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/groupfolders.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJulius Härtl <jus@bitgrid.net>2021-02-26 18:04:27 +0300
committerGitHub <noreply@github.com>2021-02-26 18:04:27 +0300
commit2178d66d50e296472363882bd340a4cdfe812173 (patch)
tree03a19a7396f64d5dad86d4d982197a787b49c7a6
parenteda679ef5fabbae8141eb8d1cb212260b9cbce9c (diff)
parentdbb05c5feaf1b0a5e6fca55e6c554d0c919f5c6b (diff)
Merge pull request #1309 from nextcloud/backport/1224/stable21v9.0.0
[stable21] Fix file drop shared folders
-rw-r--r--lib/ACL/ACLCacheWrapper.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/ACL/ACLCacheWrapper.php b/lib/ACL/ACLCacheWrapper.php
index ecf37077..23a6083f 100644
--- a/lib/ACL/ACLCacheWrapper.php
+++ b/lib/ACL/ACLCacheWrapper.php
@@ -52,7 +52,7 @@ class ACLCacheWrapper extends CacheWrapper {
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;
}
}