Copied to clipboard

Flag this post as spam?

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


  • Douglas Ludlow 210 posts 366 karma points
    May 23, 2012 @ 18:25
    Douglas Ludlow
    0

    XSLTSearch is not searching protected nodes

    I am working on an intranet site that has role based protection enabled on all the items from the home page. While troubleshooting, I've notices that umbraco.library:HasAccess() returns false on these pages in the xslt. But when I'm logged in, I can access these pages just fine. Any ideas as to how to proceed from here?

  • Douglas Robar 3570 posts 4670 karma points MVP 6x admin c-trib
    May 24, 2012 @ 10:34
    Douglas Robar
    0

    It sounds like XSLTsearch is doing exactly what it is supposed to do. It will not display results that the currently-logged in user does not have access to. If you are logged in and have access to a page XSLTsearch will display those as well. This is for security... you wouldn't want a search result advertised (and show a snippet of its content!) except to people who have adequate permission to view the content itself.

    cheers,
    doug. 

  • Douglas Ludlow 210 posts 366 karma points
    May 24, 2012 @ 17:01
    Douglas Ludlow
    0

    I found the issue was an error in the implementation of my LDAP membership provider. XSLTsearch and HasAcces are working just fine, thanks.

  • Douglas Robar 3570 posts 4670 karma points MVP 6x admin c-trib
    May 24, 2012 @ 17:09
    Douglas Robar
    0

    Excellent. Glad you've got it all working now.

    cheers,
    doug. 

Please Sign in or register to post replies

Write your reply to:

Draft