Does anyone know how to redirect a user once they login succesfully
based on their User Group Id?
When a user is created they are assigned a User.Group_id in the table.
I need to get the group_id and redirect.

Using Auth Component.

I have 3 groups:
Admin -> group_id = 0
Manager -> group_id = 1
Member -> group_id = 2

So if admin logs in they get directed to /admin
manager goes to another URL
and member would go to /profile

Thats the basic idea.

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

Reply via email to