Restrict Menu to Only show pages the user has access to.
Using Umbraco 8.
Trying to create a menu that only shows the pages the user has access to. If the user is not in a group (Role) that the page has been restricted to, then it should not show on the menu.
Using var site = Model.Root().site.Children.Where(x => x.IsVisible());
I do not see any properties in the child pages that would help me.
Restrict Menu to Only show pages the user has access to.
Using Umbraco 8.
Trying to create a menu that only shows the pages the user has access to. If the user is not in a group (Role) that the page has been restricted to, then it should not show on the menu.
Using var site = Model.Root().site.Children.Where(x => x.IsVisible());
I do not see any properties in the child pages that would help me.
Any help appreciated.
is working on a reply...