#6276 createNewWarehouse methods migrated from silex to salix #1850
|
@ -0,0 +1,18 @@
|
||||||
|
-- Place your SQL code here
|
||||||
|
INSERT INTO `salix`.`ACL` (model, property, accessType, permission, principalType, principalId)
|
||||||
jorgep marked this conversation as resolved
Outdated
|
|||||||
|
VALUES
|
||||||
|
('Collection', 'assignCollection', 'WRITE', 'ALLOW', 'ROLE', 'employee'),
|
||||||
|
('ExpeditionPallet', 'getPallet', 'READ', 'ALLOW', 'ROLE', 'employee'),
|
||||||
|
('MachineWorker','updateInTime','WRITE','ALLOW','ROLE','employee'),
|
||||||
|
('MobileAppVersionControl','getVersion','READ','ALLOW','ROLE','employee'),
|
||||||
|
('SaleTracking','deleteTracking','WRITE','ALLOW','ROLE','employee'),
|
||||||
|
('SaleTracking','updateTracking','WRITE','ALLOW','ROLE','employee'),
|
||||||
|
('SaleTracking','mark','WRITE','ALLOW','ROLE','employee'),
|
||||||
|
('ItemBarcode','deleteByItemAndCode','WRITE','ALLOW','ROLE','employee'),
|
||||||
|
('Collection','addItem','WRITE','ALLOW','ROLE','employee'),
|
||||||
|
('ExpeditionPallet', '*', 'READ', 'ALLOW', 'ROLE', 'production'),
|
||||||
|
('MobileAppVersionControl', '*', 'READ', 'ALLOW', 'ROLE', 'production'),
|
||||||
|
('Collection', 'assignCollection', 'WRITE', 'ALLOW', 'ROLE', 'production'),
|
||||||
|
('Sale', 'getFromSectorCollection', 'READ', 'ALLOW', 'ROLE', 'employee'),
|
||||||
|
('Collection', 'addItem', 'WRITE', 'ALLOW', 'ROLE', 'production');
|
||||||
|
|
Loading…
Reference in New Issue
Estan duplicados los ACLs?
@alexm Sí, elimino ese script? el bueno es 00-newWarehouse
Lo elimino