profile editor role

This commit is contained in:
andrey
2021-08-12 13:57:00 +03:00
parent 86c3146761
commit 3dc11f8075
6 changed files with 61 additions and 13 deletions

View File

@ -38,7 +38,10 @@ $this->params['breadcrumbs'][] = $this->title;
'fio',
// 'city',
//'passport',
'salary',
[
'attribute' => 'salary',
'visible' => Yii::$app->user->can('confidential_information')
],
'email:email',
//'gender',
//'dob',