How to restrict the record producers to be viewed from Catalogs and Direct Links
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
3 weeks ago
We have HR service and record producer is attached to it.
We are restricting the record producer from a group of people By using the Available For Tab by adding the user criteria.
When the restricted users are trying to search the name of the Record producer in the search present in the Portal they are not able to view it.
But when the restricted users try By clicking on the Category Attached to it they are able to access the restricted record producer
And if the users have the direct link still they are able to view it
In both the cases the users are able to submit the request also.
Need some inputs how it can be restricted via these routes.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
3 weeks ago - last edited 3 weeks ago
Service Catalog enables an administrator to grant or deny access to a service catalog item or category by company, department, group, user, or location. Configure form to add the appropriate Available or Not available lists. However some users might still be able to view RP if rule in Overriding Entitlement Scripts by Role is set.
https://www.servicenow.com/docs/bundle/xanadu-servicenow-platform/page/product/service-catalog-manag...
Have you added role at categories level?
Also here:
Thanks & Regards,
Muhammad Iftikhar
If my response helped, please mark it as the accepted solution so others can benefit as well.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
3 weeks ago
it's strange that User Criteria is not evaluated with direct link or from within category.
As a workaround you can use onLoad catalog client script and use GlideAjax and check if logged in user is supposed to see the item.
if not then show alert to them and redirect to portal home
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
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
3 weeks ago
Hope you are doing good.
Did my reply answer your question?
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