Compare commits
4 Commits
dev
...
3946-permi
Author | SHA1 | Date |
---|---|---|
Javi Gallego | 6d6ea802d0 | |
Javi Gallego | 83b57f4cc2 | |
Javi Gallego | 618db1661b | |
javi | d9b07bc879 |
|
@ -0,0 +1,40 @@
|
||||||
|
INSERT INTO salix.ACL (model,property,accessType,permission,principalType,principalId)
|
||||||
|
VALUES ('Client','updateFiscalData','WRITE','ALLOW','ROLE','employee');
|
||||||
|
INSERT INTO salix.ACL (model,property,accessType,permission,principalType,principalId)
|
||||||
|
VALUES ('Client','updateAddress','WRITE','ALLOW','ROLE','employee');
|
||||||
|
INSERT INTO salix.ACL (model,property,accessType,permission,principalType,principalId)
|
||||||
|
VALUES ('Client','summary','WRITE','ALLOW','ROLE','employee');
|
||||||
|
INSERT INTO salix.ACL (model,property,accessType,permission,principalType,principalId)
|
||||||
|
VALUES ('Client','sendSms','WRITE','ALLOW','ROLE','employee');
|
||||||
|
INSERT INTO salix.ACL (model,property,accessType,permission,principalType,principalId)
|
||||||
|
VALUES ('Client','lastActiveTickets','WRITE','ALLOW','ROLE','employee');
|
||||||
|
INSERT INTO salix.ACL (model,property,accessType,permission,principalType,principalId)
|
||||||
|
VALUES ('Client','isValidClient','WRITE','ALLOW','ROLE','employee');
|
||||||
|
INSERT INTO salix.ACL (model,property,accessType,permission,principalType,principalId)
|
||||||
|
VALUES ('Client','hasCustomerRole','WRITE','ALLOW','ROLE','employee');
|
||||||
|
INSERT INTO salix.ACL (model,property,accessType,permission,principalType,principalId)
|
||||||
|
VALUES ('Client','getTransactions','WRITE','ALLOW','ROLE','employee');
|
||||||
|
INSERT INTO salix.ACL (model,property,accessType,permission,principalType,principalId)
|
||||||
|
VALUES ('Client','getMana','WRITE','ALLOW','ROLE','employee');
|
||||||
|
INSERT INTO salix.ACL (model,property,accessType,permission,principalType,principalId)
|
||||||
|
VALUES ('Client','getDebt','WRITE','ALLOW','ROLE','employee');
|
||||||
|
INSERT INTO salix.ACL (model,property,accessType,permission,principalType,principalId)
|
||||||
|
VALUES ('Client','getCard','WRITE','ALLOW','ROLE','employee');
|
||||||
|
INSERT INTO salix.ACL (model,property,accessType,permission,principalType,principalId)
|
||||||
|
VALUES ('Client','getAverageInvoiced','WRITE','ALLOW','ROLE','employee');
|
||||||
|
INSERT INTO salix.ACL (model,property,accessType,permission,principalType,principalId)
|
||||||
|
VALUES ('Client','createWithUser','WRITE','ALLOW','ROLE','employee');
|
||||||
|
INSERT INTO salix.ACL (model,property,accessType,permission,principalType,principalId)
|
||||||
|
VALUES ('Client','createReceipt','WRITE','ALLOW','ROLE','employee');
|
||||||
|
INSERT INTO salix.ACL (model,property,accessType,permission,principalType,principalId)
|
||||||
|
VALUES ('Client','consumption','WRITE','ALLOW','ROLE','employee');
|
||||||
|
INSERT INTO salix.ACL (model,property,accessType,permission,principalType,principalId)
|
||||||
|
VALUES ('Client','confirmTransaction','WRITE','ALLOW','ROLE','employee');
|
||||||
|
INSERT INTO salix.ACL (model,property,accessType,permission,principalType,principalId)
|
||||||
|
VALUES ('Client','checkDuplicatedData','WRITE','ALLOW','ROLE','employee');
|
||||||
|
INSERT INTO salix.ACL (model,property,accessType,permission,principalType,principalId)
|
||||||
|
VALUES ('Client','canCreateTicket','WRITE','ALLOW','ROLE','employee');
|
||||||
|
INSERT INTO salix.ACL (model,property,accessType,permission,principalType,principalId)
|
||||||
|
VALUES ('Client','canBeInvoiced','WRITE','ALLOW','ROLE','employee');
|
||||||
|
INSERT INTO salix.ACL (model,property,accessType,permission,principalType,principalId)
|
||||||
|
VALUES ('Client','addressesPropagateRe','WRITE','ALLOW','ROLE','employee');
|
|
@ -0,0 +1,10 @@
|
||||||
|
INSERT INTO salix.ACL (model,property,accessType,permission,principalType,principalId)
|
||||||
|
VALUES ('Account','syncAll','*','ALLOW','ROLE','developer');
|
||||||
|
INSERT INTO salix.ACL (model,property,accessType,permission,principalType,principalId)
|
||||||
|
VALUES ('Account','syncById','*','ALLOW','ROLE','developer');
|
||||||
|
INSERT INTO salix.ACL (model,property,accessType,permission,principalType,principalId)
|
||||||
|
VALUES ('Account','sync','*','ALLOW','ROLE','developer');
|
||||||
|
UPDATE salix.ACL SET accessType='READ' WHERE id=1;
|
||||||
|
INSERT INTO salix.ACL
|
||||||
|
(model, property, accessType, permission, principalType, principalId)
|
||||||
|
VALUES('Account', '*', 'WRITE', 'ALLOW', 'ROLE', 'itBoss');
|
|
@ -0,0 +1,40 @@
|
||||||
|
INSERT INTO salix.ACL (model,property,accessType,permission,principalType,principalId)
|
||||||
|
VALUES ('Client','updateFiscalData','WRITE','ALLOW','ROLE','employee');
|
||||||
|
INSERT INTO salix.ACL (model,property,accessType,permission,principalType,principalId)
|
||||||
|
VALUES ('Client','updateAddress','WRITE','ALLOW','ROLE','employee');
|
||||||
|
INSERT INTO salix.ACL (model,property,accessType,permission,principalType,principalId)
|
||||||
|
VALUES ('Client','summary','WRITE','ALLOW','ROLE','employee');
|
||||||
|
INSERT INTO salix.ACL (model,property,accessType,permission,principalType,principalId)
|
||||||
|
VALUES ('Client','sendSms','WRITE','ALLOW','ROLE','employee');
|
||||||
|
INSERT INTO salix.ACL (model,property,accessType,permission,principalType,principalId)
|
||||||
|
VALUES ('Client','lastActiveTickets','WRITE','ALLOW','ROLE','employee');
|
||||||
|
INSERT INTO salix.ACL (model,property,accessType,permission,principalType,principalId)
|
||||||
|
VALUES ('Client','isValidClient','WRITE','ALLOW','ROLE','employee');
|
||||||
|
INSERT INTO salix.ACL (model,property,accessType,permission,principalType,principalId)
|
||||||
|
VALUES ('Client','hasCustomerRole','WRITE','ALLOW','ROLE','employee');
|
||||||
|
INSERT INTO salix.ACL (model,property,accessType,permission,principalType,principalId)
|
||||||
|
VALUES ('Client','getTransactions','WRITE','ALLOW','ROLE','employee');
|
||||||
|
INSERT INTO salix.ACL (model,property,accessType,permission,principalType,principalId)
|
||||||
|
VALUES ('Client','getMana','WRITE','ALLOW','ROLE','employee');
|
||||||
|
INSERT INTO salix.ACL (model,property,accessType,permission,principalType,principalId)
|
||||||
|
VALUES ('Client','getDebt','WRITE','ALLOW','ROLE','employee');
|
||||||
|
INSERT INTO salix.ACL (model,property,accessType,permission,principalType,principalId)
|
||||||
|
VALUES ('Client','getCard','WRITE','ALLOW','ROLE','employee');
|
||||||
|
INSERT INTO salix.ACL (model,property,accessType,permission,principalType,principalId)
|
||||||
|
VALUES ('Client','getAverageInvoiced','WRITE','ALLOW','ROLE','employee');
|
||||||
|
INSERT INTO salix.ACL (model,property,accessType,permission,principalType,principalId)
|
||||||
|
VALUES ('Client','createWithUser','WRITE','ALLOW','ROLE','employee');
|
||||||
|
INSERT INTO salix.ACL (model,property,accessType,permission,principalType,principalId)
|
||||||
|
VALUES ('Client','createReceipt','WRITE','ALLOW','ROLE','employee');
|
||||||
|
INSERT INTO salix.ACL (model,property,accessType,permission,principalType,principalId)
|
||||||
|
VALUES ('Client','consumption','WRITE','ALLOW','ROLE','employee');
|
||||||
|
INSERT INTO salix.ACL (model,property,accessType,permission,principalType,principalId)
|
||||||
|
VALUES ('Client','confirmTransaction','WRITE','ALLOW','ROLE','employee');
|
||||||
|
INSERT INTO salix.ACL (model,property,accessType,permission,principalType,principalId)
|
||||||
|
VALUES ('Client','checkDuplicatedData','WRITE','ALLOW','ROLE','employee');
|
||||||
|
INSERT INTO salix.ACL (model,property,accessType,permission,principalType,principalId)
|
||||||
|
VALUES ('Client','canCreateTicket','WRITE','ALLOW','ROLE','employee');
|
||||||
|
INSERT INTO salix.ACL (model,property,accessType,permission,principalType,principalId)
|
||||||
|
VALUES ('Client','canBeInvoiced','WRITE','ALLOW','ROLE','employee');
|
||||||
|
INSERT INTO salix.ACL (model,property,accessType,permission,principalType,principalId)
|
||||||
|
VALUES ('Client','addressesPropagateRe','WRITE','ALLOW','ROLE','employee');
|
|
@ -8,7 +8,7 @@ describe('Account create and basic data path', () => {
|
||||||
beforeAll(async() => {
|
beforeAll(async() => {
|
||||||
browser = await getBrowser();
|
browser = await getBrowser();
|
||||||
page = browser.page;
|
page = browser.page;
|
||||||
await page.loginAndModule('developer', 'account');
|
await page.loginAndModule('itBoss', 'account');
|
||||||
});
|
});
|
||||||
|
|
||||||
afterAll(async() => {
|
afterAll(async() => {
|
||||||
|
|
Loading…
Reference in New Issue