Skip to content
Snippets Groups Projects
Unverified Commit 1c4436d9 authored by Joas Schilling's avatar Joas Schilling Committed by Julius Härtl
Browse files

Access for a collection can only become true

parent fdfe984a
No related branches found
No related tags found
No related merge requests found
...@@ -371,6 +371,7 @@ class Manager implements IManager { ...@@ -371,6 +371,7 @@ class Manager implements IManager {
foreach ($collection->getResources() as $resource) { foreach ($collection->getResources() as $resource) {
if ($resource->canAccess($user)) { if ($resource->canAccess($user)) {
$access = true; $access = true;
break;
} }
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment