Don't miss out Virtual Happy Hour today (April 26).

Try our conversational search powered by Generative AI!

Find .FilterOnReadAccess() and .FilterForVisitor() stops working for anonymous users

Found in

EPiServer.CMS.Core 9.8.0

Fixed in

EPiServer.CMS.Core 9.9.0

(Or a related package)

Created

Apr 15, 2016

Updated

May 16, 2016

Area

CMS Core

State

Closed, Fixed and tested


Description

1. Use episerver.find 11.1.3 on a cms.core 9.8.0 site.
2. Use .FilterOnReadAccess()
eg. var test = SearchClient.Instance.Search<IContentData>().For(q).FilterOnReadAccess().GetContentResult();
3. Publish a page with some text e.g. "test".
4. Login to the cms and perform a search for "test" and notice you can find the result.
5. Log out and perform the same search.

Expected:
Should be able to see the result.

Actual:
Can't see the result.