diff --git a/backend/modules/settings/controllers/SkillController.php b/backend/modules/settings/controllers/SkillController.php index cc40c23..75ddc2c 100755 --- a/backend/modules/settings/controllers/SkillController.php +++ b/backend/modules/settings/controllers/SkillController.php @@ -35,7 +35,7 @@ class SkillController extends Controller 'rules' => [ [ 'allow' => true, - 'roles' => ['admin'], + 'roles' => ['admin', 'profileEditor'], ], ], ], diff --git a/backend/views/layouts/left.php b/backend/views/layouts/left.php index 9a5fd3f..d4e05a1 100755 --- a/backend/views/layouts/left.php +++ b/backend/views/layouts/left.php @@ -27,7 +27,7 @@ ['label' => 'Должность', 'icon' => 'spotify', 'url' => ['/settings/position'], 'active' => \Yii::$app->controller->id == 'position'], ['label' => 'Навыки', 'icon' => 'flask', 'url' => ['/settings/skill'], 'active' => \Yii::$app->controller->id == 'skill'], ], - 'visible' => Yii::$app->user->can('confidential_information') + //'visible' => Yii::$app->user->can('confidential_information') ], [ 'label' => 'Профили', 'icon' => 'address-book-o', 'url' => '#', 'active' => \Yii::$app->controller->id == 'user-card',