refs #6531 feat:modify name
gitea/salix/pipeline/pr-test This commit looks good Details

This commit is contained in:
Sergio De la torre 2024-02-19 09:13:03 +01:00
parent 15de4f0b73
commit 5b541aa804
4 changed files with 3 additions and 3 deletions

View File

@ -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');

View File

@ -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: {

View File

@ -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);
};