Copied to clipboard

Flag this post as spam?

This post will be reported to the moderators as potential spam to be looked at


  • Simon Morgan 4 posts 75 karma points notactivated
    Jun 14, 2021 @ 13:27
    Simon Morgan
    0

    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.

Please Sign in or register to post replies

Write your reply to:

Draft