salix/services/production/common/models/client.json

32 lines
564 B
JSON
Raw Normal View History

2017-06-21 10:11:38 +00:00
{
"name": "Client",
"base": "MyModel",
"validateUpsert": true,
"properties": {
"id": {
"type": "Number",
"id": true,
"description": "Identifier"
},
"name": {
"type": "string",
"required": true
}
},
"acls": [
{
"accessType": "*",
"principalType": "ROLE",
"principalId": "$everyone",
"permission": "DENY"
},
{
"accessType": "*",
"principalType": "ROLE",
"principalId": "root",
"permission": "ALLOW"
}
],
"validations": [],
"methods": {}
}