The CreatorCon Call for Content is officially open! Get started here.

Issue with Users seeing articles they do not have access to on EC

Rob Sestito
Mega Sage

Hey Team,

I am looking for some insight and help on what I think could be an issue.

I have a user that made a search on our HR Portal, 'bonus payout'. This user is in the US and on the IT side.

Our articles are utilizing criteria for the Can Read and Cannot Read.

When the user performed the search (we are using AI Search on our portal), they received the following results:

find_real_file.png

So a couple of things, the user is in US, but Italy articles shows first - and honestly should not even show up at all based on the criteria. To add, the article the user wanted to try and see is the Global - IDEXX Bonus Plans. When the user clicks on the article, the get a message that tells them:

find_real_file.png

Can someone please help me out to understand and figure out; A). Why would articles shows up that shouldn't based on criteria? And B). Why would an article for another country, again controlled by criteria, show up?

 

Edit since submitting question:

I see at the search results when on the Knowledge page of the portal works perfectly. However the main page with AI Search shows everything - but if the user clicks on an article they do not have access to, then the system tells them so (as shown in the screenshots above). So it looks like there is a difference with results between the searches, and the AI search is not accepting the Can Read article criteria.

 

Thank you so much in advance,

-Rob

1 ACCEPTED SOLUTION

Hi,

Yeah, that's what I was getting at with your user criteria.

Early binding is for non-scripted efforts, like those field values.

Late binding, if true, is more extensive and evaluates scripting.

If you had no scripting user criteria, it probably would have been fine, but with the script there, you'd want to use late binding IF...you don't want the results to show up. Otherwise, as you saw, they still don't have access, but with the results also not showing, it's a better user experience.

Please mark reply as Helpful/Correct, if applicable. Thanks!


Please consider marking my reply as Helpful and/or Accept Solution, if applicable. Thanks!

View solution in original post

6 REPLIES 6

Hi,

Yeah, that's what I was getting at with your user criteria.

Early binding is for non-scripted efforts, like those field values.

Late binding, if true, is more extensive and evaluates scripting.

If you had no scripting user criteria, it probably would have been fine, but with the script there, you'd want to use late binding IF...you don't want the results to show up. Otherwise, as you saw, they still don't have access, but with the results also not showing, it's a better user experience.

Please mark reply as Helpful/Correct, if applicable. Thanks!


Please consider marking my reply as Helpful and/or Accept Solution, if applicable. Thanks!

Thank you very much Allen for sharing that SN Doc with me. I learned something - always good to learn more!

Much appreciated - have a good weekend,

-Rob