updated module worker acl, removed fi from summary
gitea/salix/dev This commit looks good Details

This commit is contained in:
Joan Sanchez 2019-02-20 09:59:39 +01:00
parent 6b4fbb180a
commit 20843a9068
2 changed files with 3 additions and 6 deletions

View File

@ -17,8 +17,7 @@
"url": "/index?q", "url": "/index?q",
"state": "worker.index", "state": "worker.index",
"component": "vn-worker-index", "component": "vn-worker-index",
"description": "Workers", "description": "Workers"
"acl": ["developer"]
}, { }, {
"url" : "/summary", "url" : "/summary",
"state": "worker.card.summary", "state": "worker.card.summary",
@ -40,7 +39,8 @@
"description": "Basic data", "description": "Basic data",
"params": { "params": {
"worker": "$ctrl.worker" "worker": "$ctrl.worker"
} },
"acl": ["developer"]
} }
] ]
} }

View File

@ -6,9 +6,6 @@
<vn-label-value label="Id" <vn-label-value label="Id"
value="{{worker.id}}"> value="{{worker.id}}">
</vn-label-value> </vn-label-value>
<vn-label-value label="Fiscal identifier"
value="{{worker.client.fi}}">
</vn-label-value>
<vn-label-value label="Email" <vn-label-value label="Email"
value="{{worker.user.email}}"> value="{{worker.user.email}}">
</vn-label-value> </vn-label-value>