refs #6915 test_master24_8 #2067

Merged
alexm merged 561 commits from test_master24_8 into master 2024-02-22 07:31:34 +00:00
4 changed files with 3 additions and 3 deletions
Showing only changes of commit 5b541aa804 - Show all commits

View File

@ -1,3 +1,3 @@
-- Place your SQL code here -- Place your SQL code here
INSERT INTO salix.ACL (model, property, accessType, permission, principalType, principalId) INSERT INTO salix.ACL (model, property, accessType, permission, principalType, principalId)
VALUES( 'Ticket', 'getLastTicketsByWorker', '*', 'ALLOW', 'ROLE', 'production'); VALUES( 'Ticket', 'myLastModified', '*', 'ALLOW', 'ROLE', 'production');

View File

@ -1,5 +1,5 @@
module.exports = Self => { module.exports = Self => {
Self.remoteMethodCtx('getLastTicketsByWorker', { Self.remoteMethodCtx('myLastModified', {
description: 'Get list of last tickets which user has modified', description: 'Get list of last tickets which user has modified',
accessType: 'READ', accessType: 'READ',
returns: { returns: {

View File

@ -45,5 +45,5 @@ module.exports = function(Self) {
require('../methods/ticket/invoiceTickets')(Self); require('../methods/ticket/invoiceTickets')(Self);
require('../methods/ticket/invoiceTicketsAndPdf')(Self); require('../methods/ticket/invoiceTicketsAndPdf')(Self);
require('../methods/ticket/docuwareDownload')(Self); require('../methods/ticket/docuwareDownload')(Self);
require('../methods/ticket/getLastTicketsByWorker')(Self); require('../methods/ticket/myLastModified')(Self);
}; };