How to modify the visibility of a related list UI action?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎11-25-2022 04:50 AM
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:
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎11-25-2022 07:59 AM - edited ‎11-25-2022 07:59 AM
Yes, it will do for you as admin because we have used hasRoleExactly please use hasRole instead, this will resolve your issue.
Regards,
Abhijit
ServiceNow MVP
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎11-29-2022 05:37 AM
If your issue is resolved then please mark appropriate answer as Correct so that thread will be removed from unanswered questions.
Regards,
Abhijit
ServiceNow MVP