Quantcast
Channel: Developer to developer
Viewing all articles
Browse latest Browse all 9076

Search with FilterOnReadAccess returns no items

$
0
0

I am using Episerver Find to generate a list of pages where a property matches a specific value. This is not a problem and I get a correct search result.

However, to respect page access rights, I also tried adding the FilterOnReadAccess method to the filter chain. Then I get no results from the search, even though the pages have virtual roles like Everyone and Anonymous added with at least Read access checked. I have verified these roles in both CMS and Find shells, so they should be indexed alright.

I am using these versions of relevant NuGet packages:

  • Episerver.Cms: 10.10.4
  • Episerver.Find: 12.6.2
  • Episerver.Find.Cms: 12.6.2

Anything I should consider changing for the search? Any help will be appreciated.


Viewing all articles
Browse latest Browse all 9076

Trending Articles