search
AI OnAI Off
A critical vulnerability was discovered in React Server Components (Next.js). Our systems remain protected but we advise to update packages to newest version. Learn More.
Did you ever find a solution to this? I've hit the same blocker where the context is always null.
I'm testing virtual roles in EPiServer 10.5.
CreatorRole has SupportClaims = false in its constructor, which means that IsInVirtualRole method will never be executed. Shouldn't SupportClaims be set to true?
I created my own version of CreatorRole for debugging purposes and noticed that when I call PrincipalInfo.CurrentPrincipal.IsInRole(MyCreatorRole.RoleName), context parameter in IsInVirtualRole method is always null. Is there a bug report on this one?
Thanks