Disable ability to edit legal request in portal
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-02-2024 11:50 AM
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.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-03-2024 12:58 AM - edited 07-05-2024 01:28 AM
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.
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;
}