Hi all .
Iâm new to ASP and ASP 2.0 so please be patience.
Iâm reading Marco Bellinasoâs book (ASP 2.0 website programming) and found something that isnât working as I expect it to work.
Iâm talking about the site map data source control â the one that shows the links to the âmainâ pages / nodes of the site.
From the book (and the link from MSDN -
http://msdn2.microsoft.com/en-us/library/ms178428.aspx ) I understand that if one specifies the roles attribute inside the siteMapNode in the site map , this roles list will determine if this node will be visible to the user according to its roles list (if the user is just a member , he canât see the admin link in the bookâs example and so on).
In my web site (where I try to follow the book) this isnât working. Changing the example from the book result the same results (if I allow all users to the admin folder via its web config the link is visible although the roles list in the site map is limited). It looks like the visibility of the link is NOT connected to the roles attribute on the map node but to the web config of the specific folder.
What am I doing wrong?
I would like to âhelpâ the map provider so it will not have to check the actual page to set the link visibility.
I hope I was clear enough.
If Iâm asking the question is the wrong forum please let me know.
Thanks
Amit