parent
0bc4570706
commit
be97313856
|
@ -0,0 +1,40 @@
|
||||||
|
-- No encuentro este back
|
||||||
|
DELETE FROM salix.ACL WHERE property = 'activeWorkersWithRole';
|
||||||
|
DELETE FROM salix.ACL WHERE model = 'Client' AND property = '*';
|
||||||
|
|
||||||
|
INSERT INTO salix.ACL (model,property,accessType,permission,principalType,principalId)
|
||||||
|
VALUES ('Client','findOne','READ','ALLOW','ROLE','employee');
|
||||||
|
INSERT INTO salix.ACL (model,property,accessType,permission,principalType,principalId)
|
||||||
|
VALUES ('Client','findById','READ','ALLOW','ROLE','employee');
|
||||||
|
INSERT INTO salix.ACL (model,property,accessType,permission,principalType,principalId)
|
||||||
|
VALUES ('Client','find','READ','ALLOW','ROLE','employee');
|
||||||
|
INSERT INTO salix.ACL (model,property,accessType,permission,principalType,principalId)
|
||||||
|
VALUES ('Client','exists','READ','ALLOW','ROLE','employee');
|
||||||
|
|
||||||
|
DELETE FROM salix.ACL WHERE model = 'Client' AND accessType = '*' AND property IN (
|
||||||
|
'campaignMetricsEmail',
|
||||||
|
'campaignMetricsPdf',
|
||||||
|
'clientDebtStatementEmail',
|
||||||
|
'clientDebtStatementHtml',
|
||||||
|
'clientDebtStatementPdf',
|
||||||
|
'clientWelcomeEmail',
|
||||||
|
'clientWelcomeHtml',
|
||||||
|
'consumptionSendQueued',
|
||||||
|
'creditRequestEmail',
|
||||||
|
'creditRequestHtml',
|
||||||
|
'creditRequestPdf',
|
||||||
|
'getClientOrSupplierReference',
|
||||||
|
'incotermsAuthorizationEmail',
|
||||||
|
'incotermsAuthorizationHtml',
|
||||||
|
'incotermsAuthorizationPdf',
|
||||||
|
'letterDebtorNdEmail',
|
||||||
|
'letterDebtorNdHtml',
|
||||||
|
'letterDebtorPdf',
|
||||||
|
'letterDebtorStEmail',
|
||||||
|
'letterDebtorStHtml',
|
||||||
|
'printerSetupEmail',
|
||||||
|
'printerSetupHtml',
|
||||||
|
'sepaCoreEmail',
|
||||||
|
'setPassword',
|
||||||
|
'updateUser',
|
||||||
|
'uploadFile');
|
|
@ -0,0 +1,13 @@
|
||||||
|
DELETE FROM salix.ACL WHERE model = 'Account' AND property = '*';
|
||||||
|
|
||||||
|
INSERT INTO salix.ACL (model,property,accessType,permission,principalType,principalId)
|
||||||
|
VALUES ('Account','findOne','READ','ALLOW','ROLE','employee');
|
||||||
|
INSERT INTO salix.ACL (model,property,accessType,permission,principalType,principalId)
|
||||||
|
VALUES ('Account','findById','READ','ALLOW','ROLE','employee');
|
||||||
|
INSERT INTO salix.ACL (model,property,accessType,permission,principalType,principalId)
|
||||||
|
VALUES ('Account','find','READ','ALLOW','ROLE','employee');
|
||||||
|
INSERT INTO salix.ACL (model,property,accessType,permission,principalType,principalId)
|
||||||
|
VALUES ('Account','exists','READ','ALLOW','ROLE','employee');
|
||||||
|
|
||||||
|
DELETE FROM salix.ACL WHERE id=529;
|
||||||
|
-- 529 VnUser changePassword WRITE ALLOW ROLE account
|
Loading…
Reference in New Issue