2020-03-09 08:00:03 +00:00
|
|
|
{
|
|
|
|
"name": "MailForward",
|
|
|
|
"base": "VnModel",
|
|
|
|
"options": {
|
|
|
|
"mysql": {
|
2023-01-24 08:12:26 +00:00
|
|
|
"table": "account.mailForward"
|
2020-03-09 08:00:03 +00:00
|
|
|
}
|
|
|
|
},
|
|
|
|
"properties": {
|
2023-01-24 08:12:26 +00:00
|
|
|
"account": {
|
2020-03-09 08:00:03 +00:00
|
|
|
"id": true
|
|
|
|
},
|
|
|
|
"forwardTo": {
|
|
|
|
"type": "string",
|
|
|
|
"required": true
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"relations": {
|
|
|
|
"user": {
|
|
|
|
"type": "belongsTo",
|
2023-01-24 08:04:43 +00:00
|
|
|
"model": "VnUser",
|
2023-01-24 08:12:26 +00:00
|
|
|
"foreignKey": "account"
|
2020-03-09 08:00:03 +00:00
|
|
|
}
|
2023-10-02 12:51:19 +00:00
|
|
|
},
|
|
|
|
"acls": [{
|
|
|
|
"accessType": "READ",
|
|
|
|
"principalType": "ROLE",
|
|
|
|
"principalId": "$owner",
|
|
|
|
"permission": "ALLOW"
|
|
|
|
}, {
|
|
|
|
"accessType": "WRITE",
|
|
|
|
"principalType": "ROLE",
|
|
|
|
"principalId": "$owner",
|
|
|
|
"permission": "ALLOW"
|
|
|
|
}]
|
2020-03-09 08:00:03 +00:00
|
|
|
}
|