I'm using the Umbraco 4.7.0 release and defined members, member type and member group and set the Public access options to restrict one page by using Role based protection. However, I can still browse this page in my website without having to log in. It seems like the protection isn't taken into account at all?
Just to be sure I followed these steps again (http://our.umbraco.org/wiki/reference/umbraco-client/context-menus/public-access) on another page and also tried the single user protection. Neither one of them works, all pages are publicy visible.
What is going wrong? Am I missing an extra setting or is it a bug?
Weird and the back-end says the node is protected (you see the no entry sign)? Access info is stored in ~/app_data/access.config can you verify the node id exists in that file?
The back-end says the node is protected. The no-entry sign is shown and I can modify the public access settings. I also checked the access.config file and there I find those 2 rules which contain the id's of the pages I'm accessing:
If multiple group exist for the protected page how i can access and read access.config in my code (C#) to get all the details like node id,login page id,error page id,group names?
Role based protected pages not protected
Hi,
I'm using the Umbraco 4.7.0 release and defined members, member type and member group and set the Public access options to restrict one page by using Role based protection.
However, I can still browse this page in my website without having to log in. It seems like the protection isn't taken into account at all?
Just to be sure I followed these steps again (http://our.umbraco.org/wiki/reference/umbraco-client/context-menus/public-access) on another page and also tried the single user protection. Neither one of them works, all pages are publicy visible.
What is going wrong? Am I missing an extra setting or is it a bug?
Hi Martijn,
Is it possible that you are still logged in from a previous session?.
Cheers,
Richard
Hi Richard,
I did not even build a login control yet, so there is no way I'm already logged in...
Weird and the back-end says the node is protected (you see the no entry sign)? Access info is stored in ~/app_data/access.config can you verify the node id exists in that file?
The back-end says the node is protected. The no-entry sign is shown and I can modify the public access settings. I also checked the access.config file and there I find those 2 rules which contain the id's of the pages I'm accessing:
<access>
<page id="1078" loginPage="1077" noRightsPage="1070" simple="False">
<group id="loopcv gebruikers" />
page>
<page id="1079" loginPage="1077" noRightsPage="1077" simple="True" memberId="martijn">
<group id="__umbracoRole_martijn" />
page>
access>
The issue is resolved now. Somehow restarting my IIS after removing and adding the rolebased protection again did the trick.
If multiple group exist for the protected page how i can access and read access.config in my code (C#) to get all the details like node id,login page id,error page id,group names?
is working on a reply...