Disabling role-based protection for a particular node
Hi,
The following is my content tree in Umbraco -
Home - About Us - Our Credentials - Our Culture - Login - Password Reminder - Error page
I have set up role-based protection on the home page such that the 'Login' page and the 'Error page' (refer to tree above) as the login and the error pages respectively. For obvious reasons I would like unauthorised users to view the Password Reminder page. But I dont know how to disable protection on this particular page.
I have tried adding a location/system.web fragment in the web.config like this but without any luck.
Could it be an option to simply place the password reminder page outside of the home hierachy?
Otherwise I think you need to setup the protection on each node under "homepage" individually", which seems a bit cumbersome. So maybe you should consider rethinking the content structure a bit?
Disabling role-based protection for a particular node
Hi,
The following is my content tree in Umbraco -
Home
- About Us
- Our Credentials
- Our Culture
- Login
- Password Reminder
- Error page
I have set up role-based protection on the home page such that the 'Login' page and the 'Error page' (refer to tree above) as the login and the error pages respectively. For obvious reasons I would like unauthorised users to view the Password Reminder page. But I dont know how to disable protection on this particular page.
I have tried adding a location/system.web fragment in the web.config like this but without any luck.
<location path="password-reminder.aspx">
<system.web>
<authorization>
<allow users="*" />
</authorization>
</system.web>
</location>
Your help is greatly appreciated.
Thanks,
Shwetha
I Shwetha
Could it be an option to simply place the password reminder page outside of the home hierachy?
Otherwise I think you need to setup the protection on each node under "homepage" individually", which seems a bit cumbersome. So maybe you should consider rethinking the content structure a bit?
/Jan
is working on a reply...