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

Forums / Developing with Sitefinity / hiding doucment list for users not logged in

hiding doucment list for users not logged in

2 posts, 0 answered
  1. Meister
    Meister avatar
    262 posts
    Registered:
    09 Nov 2007
    17 Jun 2009
    Link to this post
    Hi

    I need to have 1 page that is accessed by guests and memebers

    if you are a guest you will only see a certain list of documents
    if you are a member (and logged in) you will see the full list

    whats the easiest way to acheive this

    i was thinking of having 2 lists
    1 for public access and 1 for private

    if you're not logged in it would need to detect there are additional documents and prompt you to log in.

    what solutions do i have?
  2. Ivan Dimitrov
    Ivan Dimitrov avatar
    16072 posts
    Registered:
    12 Sep 2017
    17 Jun 2009
    Link to this post
    Hello Quade,

    There are no permissions per items so you can have 2 libraries  - one of them will be visible for all users and the second one for authenticated users only or users belonging to a certain role. The easiest way is hiding the control that will show the restricted library. Another option is making a response redirect to a page with your list, again depending on the user right after it has been authenticated.

    Kind regards,
    Ivan Dimitrov
    the Telerik team

    Instantly find answers to your questions on the new Telerik Support Portal.
    Check out the tips for optimizing your support resource searches.
2 posts, 0 answered