Select to view content in your preferred language

Multiple Tiers of Users with SFV... How?

597
2
05-16-2010 06:53 PM
seanlo
by
Emerging Contributor
Has anyone figured out how to customise the SFV to do multiple tiers of users? As in: Role1 logs in, gets access to certain features and functions, Role2 logs in, gets different services. Etc etc...

-I have tried modifying mapmanager.mxml. I call my login actionscript via mapmanager as a popupmanager panel, execute all the logins, verifies fine.
-I snap off private function config(event:AppEvent):void, and take all the code except for the first line into a custom event which fires upon a successful login.

The login is successful, the custom event runs, all the code within executes (i have verified this), but no map is displayed. I have set the variable map to be bindable.

Anyone with ideas? I'm the only developer in my company so it's hard to brainstorm alone. =(

Sean.

note: I have already written a different application which does the multiple tiers of users, but will take a much longer time to develop and beautify.
Tags (2)
0 Kudos
2 Replies
seanlo
by
Emerging Contributor
I have solved this problem by pure luck. ^_^

The step above works, but several custom events for the SFV needs to be relocated from the init(). Once that's done, everything else works fine. ^_^
0 Kudos
MarkHanway1
Emerging Contributor
Sean,  Is this something you could share more details about what was added to MapManager.mxml?  We are attempting to add multiple users that login and are set with limited extents and their data within that extent.  Right now the user can login but the initial extent is showing incorrectly.
0 Kudos