Role Provider Security Trimming Issue
- From: tim.cavins@xxxxxxxxx
- Date: Wed, 12 Sep 2007 13:58:27 -0700
I have set up my project to use Security Trimming by editing my
web.config file.
I added the securityTrimmingEnabled = "True"
I added <roleManager enabled="true" />
In my Site map provider .vb file, I override the IsAccessibleToUser
function to query a database to get application specific roles. I then
loop through the node.Roles looking for a match in the user roles. I
then return true or false to enable the menu item to appear.
This all works great when I run the application from Visual Studio.
I'm able to see the Administration section.
However, if I go to http://localhost/mysite directly, I do not see the
Administration link.
Can anyone provide any insight as to why I can only see it when
debugging in Visual Studio?
Tim
.
- Follow-Ups:
- Re: Role Provider Security Trimming Issue
- From: tim . cavins
- Re: Role Provider Security Trimming Issue
- Prev by Date: Re: Impersonating user
- Next by Date: Re: GenericPrincipal
- Previous by thread: Impersonating user
- Next by thread: Re: Role Provider Security Trimming Issue
- Index(es):