The CreatorCon Call for Content is officially open! Get started here.

How to hide Close option from menu on a LIST view based on user role ?

Snehal13
Kilo Sage

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

Bert_c1
Kilo Patron

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.

Snehal13
Kilo Sage

Any other alternative as this will be  globAL CHANGE