feat(salix): refs #6427 Disable field when is not owner
gitea/salix/pipeline/pr-dev This commit looks good
Details
gitea/salix/pipeline/pr-dev This commit looks good
Details
This commit is contained in:
parent
383433766e
commit
9a7bee8ded
|
@ -99,7 +99,7 @@
|
||||||
{
|
{
|
||||||
"relation": "user",
|
"relation": "user",
|
||||||
"scope": {
|
"scope": {
|
||||||
"fields": ["email", "name", "nickname", "roleFk"],
|
"fields": ["email", "name", "nickname", "roleFk", "name", "emailVerified","recoveryPhone"],
|
||||||
"include": [
|
"include": [
|
||||||
{
|
{
|
||||||
"relation": "role",
|
"relation": "role",
|
||||||
|
|
|
@ -79,6 +79,7 @@
|
||||||
vn-one
|
vn-one
|
||||||
label="Recovery phone"
|
label="Recovery phone"
|
||||||
ng-model="$ctrl.worker.user.recoveryPhone"
|
ng-model="$ctrl.worker.user.recoveryPhone"
|
||||||
|
disabled="$root.user.id !== $ctrl.worker.id"
|
||||||
>
|
>
|
||||||
</vn-textfield>
|
</vn-textfield>
|
||||||
<vn-input-number
|
<vn-input-number
|
||||||
|
|
Loading…
Reference in New Issue