salix/modules/account/back/models/user-password.json

43 lines
634 B
JSON

{
"name": "UserPassword",
"base": "VnModel",
"options": {
"mysql": {
"table": "account.userPassword"
}
},
"properties": {
"id": {
"id": true
},
"length": {
"type": "number",
"required": true
},
"nAlpha": {
"type": "number",
"required": true
},
"nUpper": {
"type": "number",
"required": true
},
"nDigits": {
"type": "number",
"required": true
},
"nPunct": {
"type": "number",
"required": true
}
},
"acls": [
{
"accessType": "READ",
"principalType": "ROLE",
"principalId": "$everyone",
"permission": "ALLOW"
}
]
}