I am working on a site and want to implement two types of users with
different logins
like: http://www.naukri.com/
1. User Login
2. Business Login
There are three ways of doing this
1) We can have only one users table and using $userScope we
distinguish between both type of logins ..
but not sure will $userScope works for this ?
Where $userScope is Auth variable
2) We can have two tables users and businesses and two different Auth
APIs,
a): users
b): businesses
But can two Auth work ? If yes, then how ?
3) Can I do it by Auth using ACL? if yes then how?
Also, please suggest if you have better solution for this ?
Thanks
--~--~---------~--~----~------------~-------~--~----~
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+unsubscribe@googlegroups.com
For more options, visit this group at http://groups.google.com/group/cake-php?hl=en
-~----------~----~----~----~------~----~------~--~---
No comments:
Post a Comment