This commit is contained in:
parent
15de4f0b73
commit
5b541aa804
|
@ -1,3 +1,3 @@
|
|||
-- Place your SQL code here
|
||||
INSERT INTO salix.ACL (model, property, accessType, permission, principalType, principalId)
|
||||
VALUES( 'Ticket', 'getLastTicketsByWorker', '*', 'ALLOW', 'ROLE', 'production');
|
||||
VALUES( 'Ticket', 'myLastModified', '*', 'ALLOW', 'ROLE', 'production');
|
|
@ -1,5 +1,5 @@
|
|||
module.exports = Self => {
|
||||
Self.remoteMethodCtx('getLastTicketsByWorker', {
|
||||
Self.remoteMethodCtx('myLastModified', {
|
||||
description: 'Get list of last tickets which user has modified',
|
||||
accessType: 'READ',
|
||||
returns: {
|
|
@ -45,5 +45,5 @@ module.exports = function(Self) {
|
|||
require('../methods/ticket/invoiceTickets')(Self);
|
||||
require('../methods/ticket/invoiceTicketsAndPdf')(Self);
|
||||
require('../methods/ticket/docuwareDownload')(Self);
|
||||
require('../methods/ticket/getLastTicketsByWorker')(Self);
|
||||
require('../methods/ticket/myLastModified')(Self);
|
||||
};
|
||||
|
|
Loading…
Reference in New Issue