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

47 lines
784 B
JSON
Raw Normal View History

2017-01-02 06:28:36 +00:00
{
"name": "Account",
2017-01-02 06:28:36 +00:00
"base": "PersistedModel",
2017-01-18 12:49:04 +00:00
"validateUpsert": true,
2017-01-02 06:28:36 +00:00
"properties": {
"id": {
"type": "number",
"required": true
},
2017-01-02 06:28:36 +00:00
"name": {
"type": "string",
2017-01-12 10:02:22 +00:00
"required": true
},
"password": {
"type": "string",
"required": true
},
2017-01-02 06:28:36 +00:00
"active": {
"type": "boolean"
2017-05-22 09:04:37 +00:00
},
"email": {
"type": "string",
"required": true
},
"created": {
"type": "date"
},
"updated": {
"type": "date"
2017-01-02 06:28:36 +00:00
}
},
2017-03-14 12:08:55 +00:00
"acls": [
{
"accessType": "*",
"principalType": "ROLE",
2017-06-01 07:31:57 +00:00
"principalId": "$everyone",
"permission": "DENY"
2017-05-18 15:54:23 +00:00
},
{
"accessType": "*",
"principalType": "ROLE",
2017-06-01 07:31:57 +00:00
"principalId": "root",
"permission": "ALLOW"
2017-03-14 12:08:55 +00:00
}
]
2017-01-02 06:28:36 +00:00
}