2015-04-20 16:23:44 +00:00
|
|
|
{
|
|
|
|
"name": "bank",
|
|
|
|
"relations": {
|
|
|
|
"users": {
|
|
|
|
"model": "user",
|
|
|
|
"type": "hasMany"
|
|
|
|
},
|
|
|
|
"accounts": {
|
|
|
|
"model": "account",
|
|
|
|
"type": "hasMany"
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"acls": [
|
|
|
|
{
|
|
|
|
"accessType": "*",
|
|
|
|
"permission": "DENY",
|
|
|
|
"principalType": "ROLE",
|
|
|
|
"principalId": "$everyone"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"accessType": "READ",
|
|
|
|
"permission": "ALLOW",
|
|
|
|
"principalType": "ROLE",
|
|
|
|
"principalId": "$everyone"
|
2016-08-16 15:02:34 +00:00
|
|
|
},
|
|
|
|
{
|
|
|
|
"accessType": "WRITE",
|
|
|
|
"permission": "ALLOW",
|
|
|
|
"principalType": "ROLE",
|
|
|
|
"principalId": "$dynamic-role"
|
2015-04-20 16:23:44 +00:00
|
|
|
}
|
|
|
|
],
|
|
|
|
"properties": {}
|
|
|
|
}
|