7152-devToTest_2414 #2228
|
@ -4,8 +4,8 @@ INSERT INTO `salix`.`ACL` (model, property, accessType, permission, principalTyp
|
||||||
('ExpeditionPallet', 'getPallet', 'READ', 'ALLOW', 'ROLE', 'production'),
|
('ExpeditionPallet', 'getPallet', 'READ', 'ALLOW', 'ROLE', 'production'),
|
||||||
('MachineWorker','updateInTime','WRITE','ALLOW','ROLE','production'),
|
('MachineWorker','updateInTime','WRITE','ALLOW','ROLE','production'),
|
||||||
('MobileAppVersionControl','getVersion','READ','ALLOW','ROLE','production'),
|
('MobileAppVersionControl','getVersion','READ','ALLOW','ROLE','production'),
|
||||||
('SaleTracking','deleteTracking','WRITE','ALLOW','ROLE','production'),
|
('SaleTracking','delete','WRITE','ALLOW','ROLE','production'),
|
||||||
('SaleTracking','updateTracking','WRITE','ALLOW','ROLE','production'),
|
('SaleTracking','updateTracking','WRITE','ALLOW','ROLE','production'),
|
||||||
('SaleTracking','mark','WRITE','ALLOW','ROLE','production'),
|
('SaleTracking','setPicked','WRITE','ALLOW','ROLE','production'),
|
||||||
('ExpeditionPallet', '*', 'READ', 'ALLOW', 'ROLE', 'production'),
|
('ExpeditionPallet', '*', 'READ', 'ALLOW', 'ROLE', 'production'),
|
||||||
('Sale', 'getFromSectorCollection', 'READ', 'ALLOW', 'ROLE', 'production');
|
('Sale', 'getFromSectorCollection', 'READ', 'ALLOW', 'ROLE', 'production');
|
|
@ -2,7 +2,7 @@
|
||||||
module.exports = Self => {
|
module.exports = Self => {
|
||||||
Self.remoteMethod('delete', {
|
Self.remoteMethod('delete', {
|
||||||
description: 'Delete sale trackings and item shelving sales',
|
description: 'Delete sale trackings and item shelving sales',
|
||||||
accessType: 'READ',
|
accessType: 'WRITE',
|
||||||
accepts: [
|
accepts: [
|
||||||
{
|
{
|
||||||
arg: 'saleFk',
|
arg: 'saleFk',
|
||||||
|
|
Loading…
Reference in New Issue