feat(salix): refs #6427 Disable field when is not owner
gitea/salix/pipeline/pr-dev This commit looks good Details

This commit is contained in:
Javier Segarra 2024-04-18 10:03:39 +02:00
parent 383433766e
commit 9a7bee8ded
2 changed files with 3 additions and 2 deletions

View File

@ -99,7 +99,7 @@
{
"relation": "user",
"scope": {
"fields": ["email", "name", "nickname", "roleFk"],
"fields": ["email", "name", "nickname", "roleFk", "name", "emailVerified","recoveryPhone"],
"include": [
{
"relation": "role",
@ -127,7 +127,7 @@
}, {
"relation": "client",
"scope": {
"fields": [
"fields": [
"id",
"name",
"fi",

View File

@ -79,6 +79,7 @@
vn-one
label="Recovery phone"
ng-model="$ctrl.worker.user.recoveryPhone"
disabled="$root.user.id !== $ctrl.worker.id"
>
</vn-textfield>
<vn-input-number