Merge branch 'dev' of https://git.verdnatura.es/salix into dev
This commit is contained in:
commit
a9d99fc16c
|
@ -0,0 +1,32 @@
|
||||||
|
{
|
||||||
|
"name": "Defaulter",
|
||||||
|
"description": "defaulters client",
|
||||||
|
"base": "VnModel",
|
||||||
|
"options": {
|
||||||
|
"mysql": {
|
||||||
|
"table": "defaulter",
|
||||||
|
"database": "vn"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"properties": {
|
||||||
|
"created": {
|
||||||
|
"type": "Date"
|
||||||
|
},
|
||||||
|
"amount": {
|
||||||
|
"type": "Number"
|
||||||
|
},
|
||||||
|
"defaulterSinced": {
|
||||||
|
"type": "Number"
|
||||||
|
},
|
||||||
|
"hasChanged": {
|
||||||
|
"type": "Number"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"relations": {
|
||||||
|
"client": {
|
||||||
|
"type": "belongsTo",
|
||||||
|
"model": "Client",
|
||||||
|
"foreignKey": "clientFk"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
|
@ -52,5 +52,8 @@
|
||||||
},
|
},
|
||||||
"TpvResponse": {
|
"TpvResponse": {
|
||||||
"dataSource": "hedera"
|
"dataSource": "hedera"
|
||||||
|
},
|
||||||
|
"Defaulter": {
|
||||||
|
"dataSource": "vn"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -7,8 +7,8 @@ VALUES
|
||||||
(108, 'ItemPlacement', '*', 'WRITE', 'ALLOW', 'ROLE', 'marketingBoss'),
|
(108, 'ItemPlacement', '*', 'WRITE', 'ALLOW', 'ROLE', 'marketingBoss'),
|
||||||
(109, 'UserConfig', '*', '*', 'ALLOW', 'ROLE', 'employee'),
|
(109, 'UserConfig', '*', '*', 'ALLOW', 'ROLE', 'employee'),
|
||||||
(110, 'Bank', '*', 'READ', 'ALLOW', 'ROLE', 'employee'),
|
(110, 'Bank', '*', 'READ', 'ALLOW', 'ROLE', 'employee'),
|
||||||
(111, 'ClientLog', '*', 'READ', 'ALLOW', 'ROLE', 'employee');
|
(111, 'ClientLog', '*', 'READ', 'ALLOW', 'ROLE', 'employee'),
|
||||||
|
(112, 'Defaulter', '*', 'READ', 'ALLOW', 'ROLE', 'employee');
|
||||||
UPDATE salix.ACL
|
UPDATE salix.ACL
|
||||||
SET model='ItemTag', property='*', accessType='WRITE', permission='ALLOW', principalType='ROLE', principalId='marketingBoss'
|
SET model='ItemTag', property='*', accessType='WRITE', permission='ALLOW', principalType='ROLE', principalId='marketingBoss'
|
||||||
WHERE id=52;
|
WHERE id=52;
|
Loading…
Reference in New Issue