Need to restrict search source through user criteria

Community Alums
Not applicable

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

3 REPLIES 3

Gurpreet07
Mega Sage

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.

Community Alums
Not applicable

@Gurpreet07 

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

Nag89
Tera Contributor

 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