Merge remote-tracking branch 'origin/master'

pull/5924/head
Angel Fernando Quiroz Campos 1 week ago
commit 381d651e18
No known key found for this signature in database
GPG Key ID: B284841AE3E562CD
  1. 5
      src/CoreBundle/Security/Authorization/Voter/ResourceNodeVoter.php

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

Loading…
Cancel
Save