I am looking for the best way to hide pages after a user logs in. We have a set of pages that the public views, but then when a user logs in, thos pages will be hidden and a different set of pages will be show.
You can set different permissions for each page or group of pages based on roles. Say you have two pages
-PageOne - set AllowAnonymous access to deny from page properties tab.
-PageTwo - set AllowAnonymous access to deny from page properties tab.
You also have two roles - Role1 and Role2.
Role1 - PageOne - View
- yes , PageTwo View
Role2 - PageTwo
- yes , PageOne View
When user from role 1 is logged in he/she will not see PageTwo. In this post
opened by you I described how you can manipulate the navigation based on roles programmatically.
sender, RadMenuEventArgs e)
CmsSiteMapNode hideNode = e.Item.DataItem
the Telerik team