Hello Everyone,
Im building a website where you can log in as a Frontend user (with Flowpack.Neos.FrontendLogin) to gain access to the sites articles. But with the current privileges that i have set it prevents Elasticsearch from finding any articles when you are not logged in.
Is there any way to make Elasticsearch (Flowpack.Elasticsearch.ContentRepositoryAdaptor) ignore the user restrictions so i can display a preview of the articles for non logged in users?
items = ${Search.query(site).nodeType('My.Package:Articles').from(0).limit(this.limit + 1).execute()}
This is the privilege that a logged in User has
privilegeTargets:
'Neos\ContentRepository\Security\Authorization\Privilege\Node\ReadNodePrivilege':
My.Package:ViewArticles:
matcher: isDescendantNodeOf('/sites/site-a/articlefolder')