Access for a collection can only become true

Signed-off-by: Joas Schilling <coding@schilljs.com>
This commit is contained in:
Joas Schilling 2019-02-22 15:11:49 +01:00 committed by Julius Härtl
parent fdfe984adb
commit 1c4436d975
No known key found for this signature in database
GPG Key ID: 4C614C6ED2CDE6DF
1 changed files with 1 additions and 0 deletions

View File

@ -371,6 +371,7 @@ class Manager implements IManager {
foreach ($collection->getResources() as $resource) {
if ($resource->canAccess($user)) {
$access = true;
break;
}
}