2015-04-20 16:23:44 +00:00
|
|
|
{
|
|
|
|
"name": "accessToken",
|
|
|
|
"base": "AccessToken",
|
|
|
|
"baseUrl": "access-tokens",
|
|
|
|
"acls": [
|
|
|
|
{
|
|
|
|
"accessType": "*",
|
|
|
|
"permission": "DENY",
|
|
|
|
"principalType": "ROLE",
|
|
|
|
"principalId": "$everyone"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"permission": "ALLOW",
|
|
|
|
"principalType": "ROLE",
|
|
|
|
"principalId": "$everyone",
|
|
|
|
"property": "create"
|
|
|
|
}
|
2017-02-24 13:07:41 +00:00
|
|
|
],
|
|
|
|
"relations": {
|
|
|
|
"user": {
|
|
|
|
"type": "belongsTo",
|
|
|
|
"model": "user",
|
|
|
|
"foreignKey": "userId"
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|