Don't miss out Virtual Happy Hour this Friday (April 26).
Try our conversational search powered by Generative AI!
AI OnAI Off
Don't miss out Virtual Happy Hour this Friday (April 26).
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