29 lines
599 B
JSON
29 lines
599 B
JSON
{
|
|
"name": "Ticket",
|
|
"base": "MyModel",
|
|
"validateUpsert": true,
|
|
"properties": {
|
|
"id": {
|
|
"id": true,
|
|
"type": "Number",
|
|
"forceId": false
|
|
},
|
|
"date": {
|
|
"type": "date"
|
|
}
|
|
},
|
|
"acls": [{
|
|
"accessType": "*",
|
|
"principalType": "ROLE",
|
|
"principalId": "$everyone",
|
|
"permission": "DENY"
|
|
},
|
|
{
|
|
"accessType": "*",
|
|
"principalType": "ROLE",
|
|
"principalId": "root",
|
|
"permission": "ALLOW"
|
|
}
|
|
]
|
|
|
|
} |