UI Action visibility

Devika
Tera Expert

There is a custom UI action where it should be only visible to users with "itil" and "sn_incident_write" ,but it is not working as expected .
Can anyone help me on this ?Screenshot 2026-01-13 231432.png

9 REPLIES 9

SumanthDosapati
Mega Sage

@Devika  

Is your requirement to have both roles or any one of the two?

Your question says AND and your screenshot shows OR

 

Accept the solution and mark as helpful if it does, to benefit future readers.
Regards,
Sumanth

Hello Sumanth ,

Requirement is to have any one role only .

In such case there is no issue with condition. Issue might be something else.

Check if user has admin access. Try with a different user in different browser. Try by adding different condition like gs.hasRole('admin')

 

Regards,
Sumanth

PoonkodiS
Mega Sage

Hi @Devika  

PoonkodiS_0-1768344540396.png

Try this instead

 

Regards,

Poonkodi