diff options
author | Joas Schilling <coding@schilljs.com> | 2019-02-22 15:11:49 +0100 |
---|---|---|
committer | Julius Härtl <jus@bitgrid.net> | 2019-03-01 20:57:00 +0100 |
commit | 1c4436d975df004ab9f5383c9145375eb2385f4a (patch) | |
tree | 189c935c7c92f3ceec7f97dd3a2fd6e2d3d7d40c /lib/private/Collaboration | |
parent | fdfe984adbfa8887fb743bed1d1c61f01a9a283a (diff) | |
download | nextcloud-server-1c4436d975df004ab9f5383c9145375eb2385f4a.tar.gz nextcloud-server-1c4436d975df004ab9f5383c9145375eb2385f4a.zip |
Access for a collection can only become true
Signed-off-by: Joas Schilling <coding@schilljs.com>
Diffstat (limited to 'lib/private/Collaboration')
-rw-r--r-- | lib/private/Collaboration/Resources/Manager.php | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/private/Collaboration/Resources/Manager.php b/lib/private/Collaboration/Resources/Manager.php index 54852e9cce5..dc4d2fc0265 100644 --- a/lib/private/Collaboration/Resources/Manager.php +++ b/lib/private/Collaboration/Resources/Manager.php @@ -371,6 +371,7 @@ class Manager implements IManager { foreach ($collection->getResources() as $resource) { if ($resource->canAccess($user)) { $access = true; + break; } } |