diff options
author | Julius Härtl <jus@bitgrid.net> | 2021-02-26 18:04:27 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-02-26 18:04:27 +0300 |
commit | 2178d66d50e296472363882bd340a4cdfe812173 (patch) | |
tree | 03a19a7396f64d5dad86d4d982197a787b49c7a6 | |
parent | eda679ef5fabbae8141eb8d1cb212260b9cbce9c (diff) | |
parent | dbb05c5feaf1b0a5e6fca55e6c554d0c919f5c6b (diff) |
Merge pull request #1309 from nextcloud/backport/1224/stable21v9.0.0
[stable21] Fix file drop shared folders
-rw-r--r-- | lib/ACL/ACLCacheWrapper.php | 2 |
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; } } |