Tuesday, October 23, 2012

CakePHP 2.x how to manage multiple user-tables and access areas?

i'm planning a new project with cakephp and i have a problem.

i want to create multiple access areas and multiple user-tables i.e. like a shop system:

group 1: customers
group 2: merchants
group 3: affiliate-partners (4. group: admins [this maybe with acl])

every group will have its own area (domain.tld, domain.tld/merchants, domain.tld/affiliate) (i know about prefex-routing, but will it works with my idea?)

How can i manage 3 separate logins, if i.e. a merchant logged in, he wouldn't automatically logged in in affiliate area? in my first trys i see, that there's only one cookie and every merchant would be logged in in other areas too without having an account there.

please help me and point me in the right direction ;)

(sry for my terrible english) greetings from germany

m.

--
Like Us on FaceBook https://www.facebook.com/CakePHP
Find us on Twitter http://twitter.com/CakePHP
 
---
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.
Visit this group at http://groups.google.com/group/cake-php?hl=en.
 
 

No comments: