Hi

I have an application that a user can login too to access certain
parts of the site.

I'm using the Auth component, and have added a variable to my database
that has different user types.

I am then using the admin prefix routing, as well as another customer
prefix for one of the user types. So I have views such as

/usertype/model/add
/admin/model/add

etc

What I want to know is what is the best way to automatically route
people through to these, dependant on their user type?

One thing I want to do is automatically force the user into a route at
the login stage. I currently define this using

$this->Auth->loginAction =

Is there a way to define different ones dependant on my user types?

Thanks

Check out the new CakePHP Questions site http://cakeqs.org and help others with 
their CakePHP related questions.

You received this message because you are subscribed to the Google Groups 
"CakePHP" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected] For more options, visit this group at 
http://groups.google.com/group/cake-php?hl=en

Reply via email to