Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-11-2022 05:15 AM
I want to show the UI Action Related list for limited groups only and for Admins as well.
I have written the below code in 'omit new button'.
!gs.getUser().isMemberOf('assignment_group') || !gs.getUser().isMemberOf('assignment_group') || !gs.getUser().isMemberOf('assignment_group') || !gs.getUser().isMemberOf('assignment_group') && checked with || as well !(gs.hasRole('admin'));
the above code is working for mentioned groups but not for Admins, Admins are not able to see the New button.
My Requirement is Admin and the mentioned group members only should see the New button as per the screenshots.
Solved! Go to Solution.
Labels:
- Labels:
-
Request Management