@ -173,6 +173,11 @@ class ResourceNodeVoter extends Voter
) {
return true;
}
if ($firstLink->getCourse() instanceof Course
&& $firstLink->getCourse()->isPublic()
$linkFound = 0;