diff options
author | Morris Jobke <hey@morrisjobke.de> | 2021-04-20 21:35:19 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-04-20 21:35:19 +0200 |
commit | 5448306238eca2c2eba15004439d26b5ceaffe80 (patch) | |
tree | 45845a3b94298c027b344b20569bb8d0599d7fe0 /apps | |
parent | ea0f022816eb7fd350399db50fc4ea8d2b2a4d54 (diff) | |
parent | 8f01bc65f1a28a74d5bd55e1d3ce33f9620ac12a (diff) | |
download | nextcloud-server-5448306238eca2c2eba15004439d26b5ceaffe80.tar.gz nextcloud-server-5448306238eca2c2eba15004439d26b5ceaffe80.zip |
Merge pull request #26658 from nextcloud/bugfix/noid/continue-on-denied-acls
Do not stop directory listing when ACL is blocking access
Diffstat (limited to 'apps')
-rw-r--r-- | apps/files_external/lib/Lib/Storage/SMB.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/files_external/lib/Lib/Storage/SMB.php b/apps/files_external/lib/Lib/Storage/SMB.php index 1151d76c5e4..e795e7cfd92 100644 --- a/apps/files_external/lib/Lib/Storage/SMB.php +++ b/apps/files_external/lib/Lib/Storage/SMB.php @@ -257,7 +257,7 @@ class SMB extends Common implements INotifyStorage { // additionally, it's better to have false negatives here then false positives if ($acl->denies(ACL::MASK_READ) || $acl->denies(ACL::MASK_EXECUTE)) { $this->logger->debug('Hiding non readable entry ' . $file->getName()); - return false; + continue; } } |