7199-devToTest_2316 #2287
|
@ -0,0 +1,4 @@
|
||||||
|
-- Place your SQL code here
|
||||||
|
|
||||||
|
INSERT INTO salix.ACL (model, property, accessType, permission, principalType, principalId)
|
||||||
|
VALUES('ItemShelving', 'hasItemOlder', 'READ', 'ALLOW', 'ROLE', 'production');
|
|
@ -2,7 +2,7 @@ module.exports = Self => {
|
||||||
Self.remoteMethod('hasItemOlder', {
|
Self.remoteMethod('hasItemOlder', {
|
||||||
description:
|
description:
|
||||||
'Get boolean if any or specific item of the shelving has older created in another shelving or parking',
|
'Get boolean if any or specific item of the shelving has older created in another shelving or parking',
|
||||||
accessType: 'WRITE',
|
accessType: 'READ',
|
||||||
accepts: [{
|
accepts: [{
|
||||||
arg: 'shelvingFkIn',
|
arg: 'shelvingFkIn',
|
||||||
type: 'string',
|
type: 'string',
|
||||||
|
|
Loading…
Reference in New Issue