route service models

This commit is contained in:
dherrero 2017-10-10 11:14:35 +02:00
parent c341009489
commit 96235a6752
6 changed files with 27 additions and 19 deletions

View File

@ -299,7 +299,6 @@ module.component('vnAutocomplete', {
initialData: '<?', initialData: '<?',
onChange: '&?', onChange: '&?',
data: '<?', data: '<?',
itemAs: '@?',
field: '=', field: '=',
label: '@', label: '@',
multiple: '@?' multiple: '@?'

View File

@ -175,7 +175,7 @@ module.component('vnDropDown', {
search: '=?', search: '=?',
loadMore: '&?', loadMore: '&?',
filterAction: '&?', filterAction: '&?',
showLoadMore: '=?', showLoadMore: '<?',
top: '<?', top: '<?',
itemWidth: '<?', itemWidth: '<?',
parent: '<?', parent: '<?',

View File

@ -14,16 +14,18 @@
}, },
"acls": [ "acls": [
{ {
"accessType": "READ", "accessType": "*",
"principalType": "ROLE",
"principalId": "$everyone",
"permission": "ALLOW"
},
{
"accessType": "WRITE",
"principalType": "ROLE", "principalType": "ROLE",
"principalId": "$everyone", "principalId": "$everyone",
"permission": "DENY" "permission": "DENY"
},
{
"accessType": "*",
"principalType": "ROLE",
"principalId": "root",
"permission": "ALLOW"
} }
] ],
"validations": [],
"methods": {}
} }

View File

@ -14,16 +14,18 @@
}, },
"acls": [ "acls": [
{ {
"accessType": "READ", "accessType": "*",
"principalType": "ROLE",
"principalId": "$everyone",
"permission": "ALLOW"
},
{
"accessType": "WRITE",
"principalType": "ROLE", "principalType": "ROLE",
"principalId": "$everyone", "principalId": "$everyone",
"permission": "DENY" "permission": "DENY"
},
{
"accessType": "*",
"principalType": "ROLE",
"principalId": "root",
"permission": "ALLOW"
} }
] ],
"validations": [],
"methods": {}
} }

View File

@ -32,5 +32,10 @@
"name": "client", "name": "client",
"connector": "remote", "connector": "remote",
"url": "http://localhost:3002/api" "url": "http://localhost:3002/api"
},
"route": {
"name": "route",
"connector": "remote",
"url": "http://localhost:3004/api"
} }
} }

View File

@ -43,7 +43,7 @@
"dataSource": "auth" "dataSource": "auth"
}, },
"Route": { "Route": {
"dataSource": "vn", "dataSource": "route",
"public": true "public": true
} }