2020-03-09 08:00:03 +00:00
|
|
|
{
|
2023-01-24 08:12:26 +00:00
|
|
|
"name": "MailAliasAccount",
|
2020-03-09 08:00:03 +00:00
|
|
|
"base": "VnModel",
|
|
|
|
"options": {
|
|
|
|
"mysql": {
|
2023-01-24 08:12:26 +00:00
|
|
|
"table": "account.mailAliasAccount"
|
2020-03-09 08:00:03 +00:00
|
|
|
}
|
|
|
|
},
|
2024-07-01 05:19:00 +00:00
|
|
|
"mixins": {
|
|
|
|
"Loggable": true
|
|
|
|
},
|
2020-03-09 08:00:03 +00:00
|
|
|
"properties": {
|
|
|
|
"id": {
|
|
|
|
"type": "number",
|
|
|
|
"id": true
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"relations": {
|
|
|
|
"alias": {
|
|
|
|
"type": "belongsTo",
|
|
|
|
"model": "MailAlias",
|
|
|
|
"foreignKey": "mailAlias"
|
|
|
|
},
|
|
|
|
"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
|
|
|
}
|
2024-03-21 12:42:02 +00:00
|
|
|
},
|
|
|
|
"acls": [
|
|
|
|
{
|
|
|
|
"property": "create",
|
|
|
|
"accessType": "WRITE",
|
|
|
|
"principalType": "ROLE",
|
|
|
|
"principalId": "$authenticated",
|
|
|
|
"permission": "ALLOW"
|
|
|
|
}, {
|
|
|
|
"property": "deleteById",
|
|
|
|
"accessType": "WRITE",
|
|
|
|
"principalType": "ROLE",
|
|
|
|
"principalId": "$authenticated",
|
|
|
|
"permission": "ALLOW"
|
|
|
|
}
|
|
|
|
]
|
2020-03-09 08:00:03 +00:00
|
|
|
}
|