Press Ctrl / CMD + C to copy this to your clipboard.
This post will be reported to the moderators as potential spam to be looked at
I found out that using the Active Directory Providers package, when making a navigation to show only menu items that you have access to, it breaks...
@foreach (var node in homePage.Children.Where("UmbracoNaviHide == false"))
//member has access, generate menu here
<li class="@(CurrentPage.Id == node.Id ? "current_page_item" : null)"><a href="@node.Url">@node.Name</a></li>
Works fine without the Active Directory Providers but with it, it doesn't, as I need this, I am also in need for a solution, but haven't been able yet to find one. If anyone here has a fix or is able to help me out?
Thanks in advance!
Found a workaround for this issue.
Explained it here: https://our.umbraco.org/forum/using-umbraco-and-getting-started/87587-navigation-based-on-access
Although it would be nice, and I assume better, if the Umbraco.MemberHasAccess could be used instead...
Maybe you could help me answer this https://our.umbraco.org/projects/developer-tools/active-directory-providers/questionssuggestions/87960-how-to-validate-user-in-custom-login-controller ??
is working on a reply...
Write your reply to:
Image will be uploaded when post is submitted