1-888-365-2779
+1-888-365-2779
Try Now
More in this section

Forums / General Discussions / Search engine does not reflect rights

Search engine does not reflect rights

4 posts, 0 answered
  1. Le Corbu
    Le Corbu avatar
    16 posts
    Registered:
    27 Apr 2006
    28 Jan 2011
    Link to this post
    Hi,

    I setup a simple page for testing search.
    I created an index some pages with content boxes and a search box and a page with search results.
    Every thing seems to work until I started to restrict rights on some pages.

    The searchresult is still displaying results (and thus content) of pages to the anonymus user wich are restricted to backendusers. When selecting such a page from result I got the "This type of page is not served" error message.

    Tryed to reindex and then deleted the index and created new, no success.

    Am I missing something , is there another way or is it just a bug?

    I think this is a major roblem!

    Kind regards 
    Udo
  2. Ivan Dimitrov
    Ivan Dimitrov avatar
    16072 posts
    Registered:
    16 Jun 2017
    28 Jan 2011
    Link to this post
    Hello Le Corbu,

    "When selecting such a page from result I got the "This type of page is not served" error message."


    If the user you use does not have permissions to see this page, it is normal to see this error. The problem here is that we do not check the page permissions and exclude these pages from the index.

    I logged a request for this implementation with ID - 106285

    Best wishes,
    Ivan Dimitrov
    the Telerik team
    Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
  3. Le Corbu
    Le Corbu avatar
    16 posts
    Registered:
    27 Apr 2006
    30 Mar 2011
    Link to this post
    Hi,
    anything new with this issue?
    Or is there another way to reflect page rights in search results (I haven' found anything in documentation).
    I think I would need to iterate through search results and then remove those entries where the user has not appropriate rights.

    Kind regards
    Udo
  4. Ivan Dimitrov
    Ivan Dimitrov avatar
    16072 posts
    Registered:
    16 Jun 2017
    04 Apr 2011
    Link to this post
    Hello,

    You should override InitializeControls of the SearchResult control. There you can get the page id from the IResultSet. There is a Field -OriginalContentid.

    Regards,
    Ivan Dimitrov
    the Telerik team

4 posts, 0 answered