A critical vulnerability was discovered in React Server Components (Next.js). Our Systems Remain Fully Protected. Learn More.
AI OnAI Off
A critical vulnerability was discovered in React Server Components (Next.js). Our Systems Remain Fully Protected. Learn More.
I need to index the child pages when an editor changes the restrictions in a page in CMS.
So, I have handled the ContentSecuritySaved event like below to index all the child pages.
It indexes the child pages, but it does not correctly update the restrictions in the index (EPiServer.Find.Cms.ContentExtensions.RolesWithReadAccess property).
In the Find index, The child pages always have the previous restrictions we have defined.
How to have the current restrictions in the Find index ?
More Info on my setup:
All the child pages inherit the settings from parents.