Tuesday, 27 August 2013

Role-Based default starting View

Role-Based default starting View

I've been able to find several examples on role based authentication, but
this isn't an authentication issue. I have three user types, one of which
I want to have a different default starting page. Route-config is
initialized before the the user information is available.
In a nut shell: If Role A or Role B start below
Controller: Home
Action: Index
else:
Controller: Other
Action: OtherIndex
Where and how should this be implemented?

No comments:

Post a Comment