Error de roles solucionado a falta de dump

This commit is contained in:
Javi Gallego 2018-02-22 16:17:30 +01:00
parent c2782a8682
commit 51f8d01d24
3 changed files with 7 additions and 14 deletions

View File

@ -1,7 +1,8 @@
<vn-horizontal pad-medium border-solid-bottom> <vn-horizontal pad-medium border-solid-bottom>
<vn-auto margin-medium-right ui-sref="item.card.summary({ id: {{$ctrl.item.id}} })"> <vn-auto margin-medium-right >
<img ng-src="http://verdnatura.es/vn-image-data/catalog/200x200/{{$ctrl.item.image}}" on-error-src/> <img ng-src="http://verdnatura.es/vn-image-data/catalog/200x200/{{$ctrl.item.image}}"
zoom-image="http://verdnatura.es/vn-image-data/catalog/900x900/{{::$ctrl.item.image}}" on-error-src/>
</vn-auto> </vn-auto>
<vn-one ui-sref="item.card.summary({ id: {{$ctrl.item.id}} })"> <vn-one ui-sref="item.card.summary({ id: {{$ctrl.item.id}} })">
<div><span translate>Id</span>: <b>{{::$ctrl.item.id}}</b></div> <div><span translate>Id</span>: <b>{{::$ctrl.item.id}}</b></div>

View File

@ -13,16 +13,16 @@
value-field = "id" value-field = "id"
label = "Warehouse" label = "Warehouse"
order = "name ASC" order = "name ASC"
vn-acl="buyer, replenisher"> vn-acl="buyer,replenisher">
</vn-autocomplete> </vn-autocomplete>
<vn-textfield <vn-textfield
vn-three label="code" vn-three label="code"
model="niche.code" model="niche.code"
vn-acl="buyer, replenisher"> vn-acl="buyer,replenisher">
</vn-textfield> </vn-textfield>
<vn-one pad-medium-top> <vn-one pad-medium-top>
<vn-icon <vn-icon
vn-acl="buyer, replenisher" vn-acl="buyer,replenisher"
pointer pointer
medium-grey medium-grey
icon="remove_circle_outline" icon="remove_circle_outline"

View File

@ -32,13 +32,5 @@
"model": "Specie", "model": "Specie",
"foreignKey": "specieFk" "foreignKey": "specieFk"
} }
},
"acls": [
{
"accessType": "READ",
"principalType": "ROLE",
"principalId": "$everyone",
"permission": "ALLOW"
} }
]
} }