feat: refs #4560 sin expeditionTruck

This commit is contained in:
Javi Gallego 2024-06-04 11:58:39 +02:00
parent 4230d46fe5
commit da1b4649bb
5 changed files with 3 additions and 18 deletions

View File

@ -3,8 +3,8 @@ DELETE FROM salix.ACL
INSERT INTO salix.ACL (model, property, accessType, permission, principalType, principalId)
VALUES
('roadmapAddress', '*', 'WRITE', 'ALLOW', 'ROLE', 'palletizerBoss'),
('roadmapAddress', '*', 'READ', 'ALLOW', 'ROLE', 'production'),
('RoadmapAddress', '*', 'WRITE', 'ALLOW', 'ROLE', 'palletizerBoss'),
('RoadmapAddress', '*', 'READ', 'ALLOW', 'ROLE', 'production'),
('Roadmap', '*', 'WRITE', 'ALLOW', 'ROLE', 'palletizerBoss'),
('Roadmap', '*', 'READ', 'ALLOW', 'ROLE', 'production'),
('RoadmapStop', '*', 'WRITE', 'ALLOW', 'ROLE', 'palletizerBoss'),

View File

@ -28,8 +28,5 @@
},
"RoutesMonitor": {
"dataSource": "vn"
},
"ExpeditionTruck": {
"dataSource": "vn"
}
}

View File

@ -1,9 +0,0 @@
{
"name": "ExpeditionTruck",
"base": "RoadmapStop",
"options": {
"mysql": {
"table": "expeditionTruck"
}
}
}

View File

@ -36,7 +36,7 @@
},
"address": {
"type": "belongsTo",
"model": "RoadmapAddress",
"model": "Address",
"foreignKey": "addressFk"
}
}

View File

@ -48,9 +48,6 @@
"priority": {
"type": "number"
},
"expeditionTruckFk": {
"type": "number"
},
"m3boxes": {
"type": "number"
},