2022-06-16 09:32:42 +00:00
|
|
|
INSERT INTO `salix`.`ACL` (model,property,accessType,permission,principalType,principalId)
|
|
|
|
VALUES
|
2022-07-14 11:40:50 +00:00
|
|
|
('InvoiceOut','refund','WRITE','ALLOW','ROLE','invoicing'),
|
|
|
|
('InvoiceOut','refund','WRITE','ALLOW','ROLE','salesAssistant'),
|
|
|
|
('InvoiceOut','refund','WRITE','ALLOW','ROLE','claimManager'),
|
|
|
|
('Ticket','refund','WRITE','ALLOW','ROLE','invoicing'),
|
|
|
|
('Ticket','refund','WRITE','ALLOW','ROLE','salesAssistant'),
|
|
|
|
('Ticket','refund','WRITE','ALLOW','ROLE','claimManager'),
|
|
|
|
('Sale','refund','WRITE','ALLOW','ROLE','salesAssistant'),
|
|
|
|
('Sale','refund','WRITE','ALLOW','ROLE','claimManager'),
|
|
|
|
('TicketRefund','*','WRITE','ALLOW','ROLE','invoicing'),
|
2022-06-25 13:22:47 +00:00
|
|
|
('ClaimObservation','*','WRITE','ALLOW','ROLE','salesPerson'),
|
|
|
|
('ClaimObservation','*','READ','ALLOW','ROLE','salesPerson'),
|
2022-06-16 09:32:42 +00:00
|
|
|
('Client','setPassword','WRITE','ALLOW','ROLE','salesPerson'),
|
|
|
|
('Client','updateUser','WRITE','ALLOW','ROLE','salesPerson');
|
2022-07-14 11:40:50 +00:00
|
|
|
|
|
|
|
DELETE FROM `salix`.`ACL` WHERE id=313;
|
|
|
|
|
|
|
|
UPDATE `salix`.`ACL`
|
|
|
|
SET principalId='invoicing'
|
|
|
|
WHERE id=297;
|