How to get MVC Sitemap provider to security trim properly

I have the following sitemap XML using mvcsitemapprovider project.

It is not hiding the following node when all of the children are not accessible to the user:

<mvcSiteMapNode url="~/Form.aspx" title="Form Editor" roles="ItemBank User" />


There is a TrimEmptyGroupingNodesVisibilityProvider for this specific purpose.

<mvcSiteMapNode url="~/Form.aspx" title="Form Editor" roles="ItemBank User" 
    visibilityProvider="MvcSiteMapProvider.TrimEmptyGroupingNodesVisibilityProvider, MvcSiteMapProvider" />


NOTE: The default implementation requires the node to be non-clickable in order to work. However, you could make a custom visibility provider to handle this case.

Need Your Help

php eTag generation using php

php xml apache cache-control etag

This PHP code generates an eTag for an xml file. The problem is eTag updates only when the file it self is updated/modified. I need the etag to update when the dynamic results are updated as well. ...

Is there any technique for profile testing application in isolation?

java .net ruby testing profiling

I am a dummy in profiling, please tell me what you people do to profile your application. Which one is the better, Profiling the whole application or make an isolation? If the choice is make an iso...