How to restrict catalog item for the Role admin

Servicenow de11
Tera Contributor

Hello,

I have a requirement that restrict admins for one catalog item.

In the catalog item i have given 'NOT AVAILABLE FOR' user criteria to admin role but its not working attached screenshot

can anyone help how to achieve this requirement

 

Thanks in advance

1 ACCEPTED SOLUTION

@Servicenow de11 it works same as admin override in ACLs, which means if admin does not satisfy the conditions given in user criteria it will not get access to that item.


Please mark the answer correct/helpful accordingly.


Raghav
MVP 2023

View solution in original post

10 REPLIES 10

RaghavSh
Kilo Patron

Admin role overrides all user criteria as per system property (glide.sc.entitlement.override).

If you want that that admins dont override the user criteria, change the role of this property from admin to security_admin (but this will be a system wide change).

 

Please mark the answer correct/helpful accordingly.

 


Raghav
MVP 2023

AnubhavRitolia
Mega Sage
Mega Sage

Hi @Servicenow de11 

 

May be there is some User Criteria linked to "Available For" related list which may be matching the admin. Check User criteria on Available For related list.

 

And also confirm that, as admin, those are not visible on portal. From backend they may be able to access.

 

Please mark this as correct answer and helpful if it resolved, or mark this helpful if this help you to reach towards solution.

Thanks
Anubhav Ritolia
ServiceNow Rising Star 2023

Their is no user criteria 'Avaliable for'

 Yes as admin, those are not visible on portal. From backend they may be able to access.

@Servicenow de11 

 

Then it is expected. IF you still want to restrict, you have to check ACL for the table and "Admin Override" should be disabled and also other conditions should not met him.

 

If you are talking about, Maintain Item/Catalog Item, I don't think we should be able to hide it as it is Admin only who will be configuring it so admin will be able to access. 

 

Using User Criteria, you have already restricted at Portal level.

 

Please mark this as correct answer and helpful if it resolved, or mark this helpful if this help you to reach towards solution.

Thanks
Anubhav Ritolia
ServiceNow Rising Star 2023