Last post Jul 02, 2008 04:24 PM by docluv
Jun 29, 2008 10:21 AM|ayespee|LINK
Jul 02, 2008 05:46 AM|grahamlower|LINK
If I understand what you are asking...
If you are using a TreeView Control that connects to your sitemap and different user see different options, that is due to the different acces the roles that they have assigned to them have. For example, in each directory there can exist a web.config that
looks something like the following:
<allow roles="admin" />
<allow roles="user" />
<allow roles="manager" />
<deny users="*" />
In that folder there are also pages that you have added to your Web.sitemap file. For a user that has any of the roles allowed, say "admin" for example, the TreeView would should those pages. If, however, the user lacked any of those roles, then those
pages would be omitted.
In otherword, the TreeView respected the access rights a user has based upon the roles assigned to them and the roles required for certain directories.
Hope that helps.
Jul 02, 2008 09:05 AM|ayespee|LINK
Well I got it..I had to enable security trimming=true settings in web.config for sitemap provider
Jul 02, 2008 04:24 PM|docluv|LINK
Yes the built-in SiteMap providers honor security trimming based on the user's account and any roles they belong to. This is not specific to the BeerHouse.