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.
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.
Where menu item is pointing? Could it be so - that target page is requiring proper user context and not menu item itself?
Thanks for your answer, but I found the solution. In the controller of this item I had an Authorize attribut that need administrator right.
Hi everyone,
I have created a custom menu in episerver with UrlMenuItem :
return new UrlMenuItem(text, path, url)
{
IsAvailable = (request) => PrincipalInfo.HasEditorAccess
};
When I'm logging with a user with WebEditor right I can see the menu item. But when I click to access this menu, I'm redirected to login form.
But when I'm logging with a user with Administrator right, I don't have this problem and I can access this menu.
Can someone help me to understand, why I can't access to this menu with only editor right ?
Thanks