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');
|
2019-06-11 10:23:55 +00:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
INSERT INTO `salix`.`ACL` (`id`, `model`, `property`, `accessType`, `permission`, `principalType`, `principalId`) VALUES ('', 'Agency', 'getLanded', 'READ', 'ALLOW', 'ROLE', 'employee');
|
|
|
|
INSERT INTO `salix`.`ACL` (`model`, `property`, `accessType`, `permission`, `principalType`, `principalId`) VALUES ('Agency', 'getShipped', 'READ', 'ALLOW', 'ROLE', 'employee');
|