How to hide Close option from menu on a LIST view based on user role ?
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-30-2023 07:02 AM
ex - On incident list view, user can select multiple records and open the menu list and select one of them. There is an option Close incident which needs to be hidden when logged in user has a particular role.
how to achieve this ?
2 REPLIES 2
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-30-2023 07:23 AM
Hi,
Try using a Condition value like: gs.hasRole('itil') || gs.hasRole('admin') on the UI Action. So it only applies to users with specific roles.
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-31-2023 06:32 AM
Any other alternative as this will be globAL CHANGE