mirror of
https://gitlab.com/Chill-Projet/chill-bundles.git
synced 2025-08-25 00:53:48 +00:00
changes to TaskVoter reinstated, mistake made in conflict resolvement
This commit is contained in:
@@ -88,7 +88,6 @@ class MenuBuilder implements LocalMenuBuilderInterface
|
||||
|
||||
$course = $parameters['accompanyingCourse'];
|
||||
|
||||
|
||||
// if ($this->authorizationChecker->isGranted(TaskVoter::SHOW, $course)) {
|
||||
$menu->addChild(
|
||||
$this->translator->trans('Tasks'), [
|
||||
@@ -100,6 +99,7 @@ class MenuBuilder implements LocalMenuBuilderInterface
|
||||
// }
|
||||
}
|
||||
|
||||
|
||||
public static function getMenuIds(): array
|
||||
{
|
||||
return ['person', 'accompanyingCourse'];
|
||||
|
Reference in New Issue
Block a user