My favorites | Sign in
Project Logo
                
New issue | Search
for
| Advanced search | Search tips
Issue 3: SubSonicPrincipal.IsInRole(string role) is case-sensitive, but SubSonicPrinciple._Roles is not
1 person starred this issue and may be notified of changes. Back to list
Status:  New
Owner:  ----
Type-Defect
Priority-Medium


Sign in to add a comment
 
Reported by hybrid.basis, Feb 11, 2008
I am using the Beta 1 of subsonicproviders.

I recently noticed that none of my role checks were working - because,
while the value passed in to SubSonicPrinciple.IsInRole is converted to
lowercase, the values inside _Roles are not - which means they never match.

I have attached a file with a (hackish) fix.
 
Principal.cs
2.2 KB   Download
Comment 1 by zow...@eagleenvision.net, Feb 11, 2008
I'll take a look. Thanks!
Sign in to add a comment

Hosted by Google Code