refs #5468 feat: cambiados acls
gitea/salix/pipeline/head There was a failure building this commit
Details
gitea/salix/pipeline/head There was a failure building this commit
Details
This commit is contained in:
parent
3f26072787
commit
b65ebc6af3
|
@ -6,7 +6,7 @@
|
||||||
<vn-item
|
<vn-item
|
||||||
ng-click="deleteUser.show()"
|
ng-click="deleteUser.show()"
|
||||||
name="deleteUser"
|
name="deleteUser"
|
||||||
vn-acl="sysadmin"
|
vn-acl="itManagement"
|
||||||
vn-acl-action="remove"
|
vn-acl-action="remove"
|
||||||
translate>
|
translate>
|
||||||
Delete
|
Delete
|
||||||
|
|
|
@ -55,8 +55,7 @@
|
||||||
"url": "/create",
|
"url": "/create",
|
||||||
"state": "account.create",
|
"state": "account.create",
|
||||||
"component": "vn-user-create",
|
"component": "vn-user-create",
|
||||||
"description": "New user",
|
"description": "New user"
|
||||||
"acl": ["it"]
|
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"url": "/:id",
|
"url": "/:id",
|
||||||
|
@ -79,7 +78,7 @@
|
||||||
"state": "account.card.basicData",
|
"state": "account.card.basicData",
|
||||||
"component": "vn-user-basic-data",
|
"component": "vn-user-basic-data",
|
||||||
"description": "Basic data",
|
"description": "Basic data",
|
||||||
"acl": ["hr"]
|
"acl": ["itManagement"]
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"url" : "/log",
|
"url" : "/log",
|
||||||
|
|
|
@ -1,33 +0,0 @@
|
||||||
<mg-ajax
|
|
||||||
path="VnUsers/{{$ctrl.worker.userFk}}"
|
|
||||||
actions="user = edit.model"
|
|
||||||
options="mgEdit">
|
|
||||||
</mg-ajax>
|
|
||||||
<vn-watcher
|
|
||||||
vn-id="watcher"
|
|
||||||
url="VnUsers"
|
|
||||||
id-field="id"
|
|
||||||
data="user"
|
|
||||||
form="form">
|
|
||||||
</vn-watcher>
|
|
||||||
<form name="form" ng-submit="$ctrl.onSubmit()" class="vn-w-md">
|
|
||||||
<vn-card class="vn-pa-lg">
|
|
||||||
<vn-vertical>
|
|
||||||
<vn-horizontal>
|
|
||||||
<vn-field
|
|
||||||
vn-one
|
|
||||||
label="Nickname"
|
|
||||||
ng-model="user.nickname">
|
|
||||||
</vn-field>
|
|
||||||
</vn-horizontal>
|
|
||||||
</vn-vertical>
|
|
||||||
</vn-card>
|
|
||||||
<vn-button-bar>
|
|
||||||
<vn-submit label="Save"></vn-submit>
|
|
||||||
<vn-button
|
|
||||||
label="Undo changes"
|
|
||||||
ng-if="watcher.dataChanged()"
|
|
||||||
ng-click="watcher.loadOriginalData()">
|
|
||||||
</vn-button>
|
|
||||||
</vn-button-bar>
|
|
||||||
</form>
|
|
Loading…
Reference in New Issue