Show active as well as Inactive Users to ITIL users on User Table

Shrey Khurana1
Tera Contributor

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.

 

 

3 REPLIES 3

Manmohan K
Tera Sage

Hi @Shrey Khurana1 

 

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

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.

Ankur Bawiskar
Tera Patron
Tera Patron

@Shrey Khurana1 

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.

Regards,
Ankur
Certified Technical Architect  ||  9x ServiceNow MVP  ||  ServiceNow Community Leader