role fix
This commit is contained in:
		| @@ -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' => '#', | ||||
|   | ||||
		Reference in New Issue
	
	Block a user
	 andrey
					andrey