diff options
author | Joas Schilling <coding@schilljs.com> | 2019-02-22 17:11:49 +0300 |
---|---|---|
committer | Julius Härtl <jus@bitgrid.net> | 2019-03-01 22:57:00 +0300 |
commit | 1c4436d975df004ab9f5383c9145375eb2385f4a (patch) | |
tree | 189c935c7c92f3ceec7f97dd3a2fd6e2d3d7d40c /lib/private | |
parent | fdfe984adbfa8887fb743bed1d1c61f01a9a283a (diff) |
Access for a collection can only become true
Signed-off-by: Joas Schilling <coding@schilljs.com>
Diffstat (limited to 'lib/private')
-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; } } |