mirror of
https://gitlab.com/Chill-Projet/chill-bundles.git
synced 2025-08-13 19:29:51 +00:00
Do not show job menu entry if user does not have necessary permission
This commit is contained in:
parent
dc44c46667
commit
1e5d676aa5
@ -52,7 +52,6 @@ class MenuBuilder implements LocalMenuBuilderInterface
|
|||||||
->setExtras([
|
->setExtras([
|
||||||
'order' => 51,
|
'order' => 51,
|
||||||
]);
|
]);
|
||||||
}
|
|
||||||
|
|
||||||
$menu->addChild('Emploi', [
|
$menu->addChild('Emploi', [
|
||||||
'route' => 'chill_job_report_index',
|
'route' => 'chill_job_report_index',
|
||||||
@ -64,6 +63,7 @@ class MenuBuilder implements LocalMenuBuilderInterface
|
|||||||
'order' => 52,
|
'order' => 52,
|
||||||
]);
|
]);
|
||||||
}
|
}
|
||||||
|
}
|
||||||
|
|
||||||
public static function getMenuIds(): array
|
public static function getMenuIds(): array
|
||||||
{
|
{
|
||||||
|
Loading…
x
Reference in New Issue
Block a user