Copied to clipboard

Flag this post as spam?

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


  • Richard Barg 358 posts 532 karma points
    Feb 06, 2013 @ 20:07
    Richard Barg
    0

    Active-Directory (AD) Filtered-Display of Pages

    I posted this question elsewhere as my last two posted under project discussion have gone unanswered:

    http://our.umbraco.org/forum/developers/extending-umbraco/38179-Active-Directory-(AD)-Selective-or-Filtered-Display-of-Pages-on-Public-Site

     

  • Richard Barg 358 posts 532 karma points
    Feb 06, 2013 @ 20:13
    Richard Barg
    0

    This is a summary that more fully explains this issue and Kevin Jump's responses:

    From Richard Barg

    "We are in the process of implementing AD to display pages selectively on one of our websites.

    We're not sure if AD can selectively suppress  the display of pages for those who are not in the configured active directory group. In the example screenshot below, we'd like to have the Intranet menu tab and the "confidential information" child page only display for those users who have logged into our network as members of a select active directory group."

    From Kevin Jump:

    if the role provider is setup correctly, then using the standard umbraco functions you should be able to hide things from people with no access.

    Adding .Where("Visible") to the query that builds your navigation should work, as i understand it visible, looks for umbracoNaviHide and if the user has Access. You can also check directly use item.HasAccess when building the navigation to see if a user can access a page and not show it if they dont. 

    our.umbraco.org/.../hasaccess ?


     

  • Kevin Jump 2343 posts 14890 karma points MVP 8x c-trib
    Feb 06, 2013 @ 20:21
    Kevin Jump
    100

    sorry - i was loosing notifications, i've posted a reply, you should beable to do this with Visible and/or HasAccess

  • Richard Barg 358 posts 532 karma points
    Feb 06, 2013 @ 20:23
    Richard Barg
    0

    Thanks!!!

Please Sign in or register to post replies

Write your reply to:

Draft