2015-04-20 16:23:44 +00:00
|
|
|
{
|
|
|
|
"name": "user",
|
|
|
|
"base": "User",
|
|
|
|
"relations": {
|
|
|
|
"accessTokens": {
|
|
|
|
"model": "accessToken",
|
|
|
|
"type": "hasMany",
|
|
|
|
"foreignKey": "userId"
|
|
|
|
},
|
|
|
|
"transactions": {
|
|
|
|
"model": "transaction",
|
|
|
|
"type": "hasMany"
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"acls": [
|
|
|
|
{
|
|
|
|
"accessType": "*",
|
|
|
|
"permission": "DENY",
|
|
|
|
"principalType": "ROLE",
|
|
|
|
"principalId": "$everyone"
|
|
|
|
}
|
2016-05-09 19:24:03 +00:00
|
|
|
],
|
|
|
|
"replaceOnPUT": false
|
2015-04-20 16:23:44 +00:00
|
|
|
}
|