role fix
This commit is contained in:
parent
7db30b4d90
commit
a25cdf3796
@ -32,7 +32,7 @@
|
|||||||
[
|
[
|
||||||
'label' => 'Профили', 'icon' => 'address-book-o', 'url' => '#', 'active' => \Yii::$app->controller->id == 'user-card',
|
'label' => 'Профили', 'icon' => 'address-book-o', 'url' => '#', 'active' => \Yii::$app->controller->id == 'user-card',
|
||||||
'items' => $menuItems,
|
'items' => $menuItems,
|
||||||
'visible' => Yii::$app->user->can('confidential_information')
|
//'visible' => Yii::$app->user->can('confidential_information')
|
||||||
],
|
],
|
||||||
[
|
[
|
||||||
'label' => 'Сотрудники', 'icon' => 'users', 'url' => '#',
|
'label' => 'Сотрудники', 'icon' => 'users', 'url' => '#',
|
||||||
|
Loading…
Reference in New Issue
Block a user