salix/modules/account/back/models/mail-forward.json

37 lines
627 B
JSON
Raw Normal View History

{
"name": "MailForward",
"base": "VnModel",
"options": {
"mysql": {
2023-01-24 08:12:26 +00:00
"table": "account.mailForward"
}
},
"properties": {
2023-01-24 08:12:26 +00:00
"account": {
"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"
}
},
"acls": [{
"accessType": "READ",
"principalType": "ROLE",
"principalId": "$owner",
"permission": "ALLOW"
}, {
"accessType": "WRITE",
"principalType": "ROLE",
"principalId": "$owner",
"permission": "ALLOW"
}]
}