2019-06-06 11:59:11 +00:00
|
|
|
INSERT INTO `salix`.`ACL` ( `model`, `property`, `accessType`, `permission`, `principalType`, `principalId`)
|
|
|
|
VALUES
|
|
|
|
('Dms', 'removeFile', 'WRITE', 'ALLOW', 'ROLE', 'employee'),
|
|
|
|
('Dms', 'uploadFile', 'WRITE', 'ALLOW', 'ROLE', 'employee'),
|
|
|
|
('Dms', 'downloadFile', 'READ', 'ALLOW', 'ROLE', 'employee'),
|
|
|
|
('Client', 'uploadFile', 'WRITE', 'ALLOW', 'ROLE', 'employee'),
|
|
|
|
('ClientDms', 'removeFile', 'WRITE', 'ALLOW', 'ROLE', 'employee'),
|
|
|
|
('ClientDms', '*', 'READ', 'ALLOW', 'ROLE', 'employee'),
|
|
|
|
('Ticket', 'uploadFile', 'WRITE', 'ALLOW', 'ROLE', 'employee'),
|
|
|
|
('TicketDms', 'removeFile', 'WRITE', 'ALLOW', 'ROLE', 'employee'),
|
|
|
|
('TicketDms', '*', 'READ', 'ALLOW', 'ROLE', 'employee'),
|
|
|
|
('Route', 'updateVolume', 'WRITE', 'ALLOW', 'ROLE', 'deliveryBoss');
|