I am building a CakePHP app that requires admins, users, and merchants. Merchants will need to have a profile. Users will need to provide different info for their profile.
I currently have a user model handling login with ACL enabled.
That is all working fine.
What I cannot wrap my head around is how do I handle having a different profile for merchants and a different profile for users?
A typical website scenario would just be "user hasOne profile", but I need different profiles based on group type.
I can't seem to grasp how to have different data sets associated with users based on their group.