This commit is contained in:
andrey 2022-10-26 13:20:56 +03:00
parent 7db30b4d90
commit a25cdf3796

View File

@ -32,7 +32,7 @@
[
'label' => 'Профили', 'icon' => 'address-book-o', 'url' => '#', 'active' => \Yii::$app->controller->id == 'user-card',
'items' => $menuItems,
'visible' => Yii::$app->user->can('confidential_information')
//'visible' => Yii::$app->user->can('confidential_information')
],
[
'label' => 'Сотрудники', 'icon' => 'users', 'url' => '#',