18 lines
1.2 KiB
SQL
18 lines
1.2 KiB
SQL
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');
|
|
|
|
|
|
|
|
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');
|