Show active as well as Inactive Users to ITIL users on User Table
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-11-2023 01:27 AM
Hello All,
I have a requirement where I need to show active as well as Inactive users to ITIL as well as admin users.
Is there a ways where the ITIL users can see both these type of records on the user table.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-11-2023 01:42 AM
There would be an ACL or query business rule that would be stopping the itil users from viewing all users in the table. You may modify it to give itil role permission to view all users in table
Proceed with caution since its not advisable to provide itil users with such type of access. Please do consult with your team before taking such action
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-11-2023 07:25 PM
Thank you for the response.
I tried searching for the Business rule and ACL but no luck. If possible, can you please share the name of ACL or BR which is running on back end.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-11-2023 08:27 PM - edited 06-11-2023 08:27 PM
I won't recommend this.
There is a query BR on sys_user table which hides inactive users for non-admins.
Please update the BR condition
Existing condition: gs.getSession().isInteractive() && !(gs.hasRole("admin") || gs.hasRole("user_admin"))
Modified condition: gs.getSession().isInteractive() && !(gs.hasRole("admin") || gs.hasRole("user_admin") || gs.hasRole('itil'))
Also check any table level READ ACL is doing the same and update it accordingly
If my response helped please mark it correct and close the thread so that it benefits future readers.
Ankur
✨ Certified Technical Architect || ✨ 9x ServiceNow MVP || ✨ ServiceNow Community Leader