| | | StrataFrame Beginner
       
Group: StrataFrame Users Last Login: 07/13/2010 6:10:32 AM Posts: 47, Visits: 191 |
| | I'm working on a web app that uses the same RBS as a windows app I'm also working on. The web login seems to work fine using SetLoggedInUser() and the CurrentUser is then set to what I would expect. When I use CurrentUser.GetPermission(), it always returns PermissionAction.Grant. This happens if the user was granted the specified permission, the specified premission is denied or the specified premission doesn't even exist. I have IsWebEnvironment=true and DefaultPermissionAction set to Deny in Global.asax. This is working fine for me in the windows app. Any ideas what I'm doing wrong on the web side? Thanks! |
| | | | StrataFrame Beginner
       
Group: StrataFrame Users Last Login: 07/13/2010 6:10:32 AM Posts: 47, Visits: 191 |
| Never mind. I gave up yesterday. Reopened the project this morning is it worked fine. ? ? |
| | | | 
StrataFrame Developer

Group: StrataFrame Developers Last Login: 07/06/2010 6:04:33 PM Posts: 6,275, Visits: 6,165 |
| | That is a head-scratcher as there should not be any difference. It could be the whole "have to run VS twice is an assembly is already loaded in teh AppDomain" issue. .NET design-time likes to hold on to assemblies in the AppDomain so when you run your application the assemblies don't get reloaded into the run-time AppDomain...casuing some craziness at times. |
| |
|
|