27 lines
484 B
JSON
27 lines
484 B
JSON
{
|
|
"name": "accessToken",
|
|
"base": "AccessToken",
|
|
"baseUrl": "access-tokens",
|
|
"acls": [
|
|
{
|
|
"accessType": "*",
|
|
"permission": "DENY",
|
|
"principalType": "ROLE",
|
|
"principalId": "$everyone"
|
|
},
|
|
{
|
|
"permission": "ALLOW",
|
|
"principalType": "ROLE",
|
|
"principalId": "$everyone",
|
|
"property": "create"
|
|
}
|
|
],
|
|
"relations": {
|
|
"user": {
|
|
"type": "belongsTo",
|
|
"model": "user",
|
|
"foreignKey": "userId"
|
|
}
|
|
}
|
|
}
|