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

Forums / Developing with Sitefinity / Accessing page for certain user only (with roles)

Accessing page for certain user only (with roles)

2 posts, 0 answered
  1. Fabian
    Fabian avatar
    6 posts
    Registered:
    08 Dec 2008
    07 Jan 2009
    Link to this post
    Hello,

    I am using Sitefinity 3.x and I got a little problem.

    I would like to make some sections of my site accessible for certain user only but, I diddn't find how I can do that :
    For exemple, the page "A" have to be accessible for people with de role "Role_A" et the page "B" for people with role "Role_B".

    First of all, I set the "Anonymous permission" of my pages A and B to deny.

    After that, I went to the Page->Permission of my page "A" and set the "view" property for "Role_A" to true (but, the deny property il always checked after I save it, even if I unchecked it before saving ...)
    For the "Role_B", I set the "view" property to false et let the "deny " to true.

    Now, when I go to my public site, none of this users can't access my page "A" and, I don't know why ...

    I don't understand what I am doing wrong and I hope somenone can help me.

    Thanks

    Greetings,

    Fabian Peruzzi
    PROMISYS
  2. Ivan Dimitrov
    Ivan Dimitrov avatar
    16072 posts
    Registered:
    12 Sep 2017
    08 Jan 2009
    Link to this post
    Hi Fabian,

    "After that, I went to the Page->Permission of my page "A" and set the "view" property for "Role_A" to true (but, the deny property il always checked after I save it, even if I unchecked it before saving ...)"

    Check out whether you have any tick for Everyone role, this is the reason for the problem above.

    Now, when I go to my public site, none of this users can't access my page "A" and, I don't know why ...


    Because you have set Deny anonymous for these pages. All public users are anonymous.

    Best wishes,
    Ivan Dimitrov
    the Telerik team

    Check out Telerik Trainer, the state of the art learning tool for Telerik products.
2 posts, 0 answered