How to modify the visibility of a related list UI action?

Linda6
Mega Guru

Dear all,

how/where do I get to modify the visibility of a related list UI action? I did not find it anywhere.

Namely I would like to restrict users to add/remove groups of other users, if they are not the manager of that given group and at the same time they must have the 'itil' or 'itil_admin' role. 

I tried to do this through ACLs, but it does not function as expected.

So thought of a workaround of hiding the New/Edit related list UI actions if the signed in user does not fulfill the above mentioned criteria.

I mean these UI actions:

uiactionrelatedlist.png

6 REPLIES 6

Yes, it will do for you as admin because we have used hasRoleExactly please use hasRole instead, this will resolve your issue.

 

 

By marking my response as correct or helpful, you contribute to helping future readers with similar issues.
Regards,
Abhijit
ServiceNow MVP

If your issue is resolved then please mark appropriate answer as Correct so that thread will be removed from unanswered questions.

By marking my response as correct or helpful, you contribute to helping future readers with similar issues.
Regards,
Abhijit
ServiceNow MVP