Disable ability to edit legal request in portal

Joel Pomales1
Tera Contributor

Hello team,

 

Anyone has an idea how to disable the ability in users with access to legal service delivery requests to edit it after submission? The OOTB behavior is that they can. See screenshot.

 

JoelPomales1_0-1719945970433.png

 

1 REPLY 1

lubbenjans
Tera Contributor

I updated the Action Widget "Legal Ticket Actions" :
Go to : ticket_configuration.list
Table : sn_lg_ops_request

Open the Action widget "Legal Ticket Actions" in the Action Region Tab.

lubbenjans_0-1720168057176.png

 


To remove the Edit functionality, replace line 35 ( if (action.active) commonActions[action.name] = action;) with the following:
if (action.name !== 'Edit' && action.active) {
commonActions[action.name] = action;
}

and then replace line 45 (commonActions[action.name] = action;) with the following:
if (action.name !== 'Edit') { 
commonActions[action.name] = action;
}