- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎08-19-2020 12:46 PM
Hi,
How do I disable Delete option to ITIL users from the "Action on selected rows".I only want to remove it from the Affected CIs related list(task_ci table)
It should visible to Admin and Change manager team.
Could someone please help me on this.
Regards,
Mounika
Solved! Go to Solution.
- Labels:
-
User Interface (UI)

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎08-19-2020 12:50 PM
Hi Mounika
Delete is a UI action written on global table and is not specific to task_ci. So you might have to create a separate UI action Delete for task_ci and there you can add a condition
gs.hasRole("admin")||gs.hasRole("change_manager")
And for existing Delete UI action, you can add the below condition to existing condition to avoid showing the global delete for task_ci like below
current.getTableName()!='task_ci'
Kindly mark the comment as a correct answer and also helpful if it answers your question.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎08-19-2020 01:08 PM
Hi
Thanks for the response.
I have tried using ACL as well
If we hide Delete option through ACL, it is preventing access to remove added CIs through edit button as well.
But i want edit button should work and delete button Should hide

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎08-19-2020 01:13 PM
glad you solved it, I think its good if you smash the helpful button to other solution as well. everyone has contributed here,

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎08-19-2020 01:20 PM
To avoid changing anything in global i have suggested a new UI action button for task_ci table.
yes, ACL is also a option.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎08-19-2020 12:52 PM
Hi ,
Here are links which will help you.
If it helps,Please mark ✅ Correct and ???? Helpful.
Warm Regards,
Milind

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎08-19-2020 12:53 PM
go to the UI Action and search for delete ui action "list choice" which would be on global table.
add below condition, if you are on change add CHG, if you are on incident use INC.
current.canDelete()&¤t.task.getDisplayValue().indexOf("CHG")!=0