Need to restrict search source through user criteria
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎11-10-2023 12:57 AM
I was having a 2 search sources in the portal i.e., knowledge base and the catalog items. I need to restrict the catalog items to the user belong to the user criteria. Can anyone help me how to restrict the catalog item only to the users belong to the user criteria
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎11-10-2023 01:49 AM
Hi Charan,
The user criteria is evaluated in the ACLs on Catalog item table. So if you use GlideRecordSecure in the scripts then it should respect the user criteria.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎11-13-2023 02:19 AM
Hi ,
I have tried modifying the script of search sources I have tried using user criteria condition in data fetch script but it was not working as expected. Can you help me does it work when we modify the data fetch script in search sources
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎11-10-2023 02:27 AM
Through ACLs:
Try creating a new role for each of them and try appending ACLs accordingly.
If the answer works, please mark it as useful