Yes exactly the same thing...user can only have one role/group....just
saying user can only have one group sounds wrong...whereas user belongs to a
group sounds right (as in English language sounds right) and confusing
myself further..

Basic ideas is user has 1 one role/group but I need a separate profile for
each user based on the role/group they have. What is the best way to set
that up?

Dave

-----Original Message-----
From: brian [mailto:bally.z...@gmail.com] 
Sent: May-31-09 11:02 PM
To: cake-php@googlegroups.com
Subject: Re: Relationship confusion


role, group ... pretty much the same thing, no?

On Sun, May 31, 2009 at 8:45 PM, Dave Maharaj :: WidePixels.com
<d...@widepixels.com> wrote:
> This is fairly simple question but I think saying it in my head and 
> hearing it sounds wrong and confusing me further.
>
> "User" signs up and selects the "Group" they are going to belong to as 
> they can only belong to one group...sounds fine when you say it out 
> load "Group" has many "Users".....sounds fine when you say it out load
>
> User belongsTo Group
> Group hasMany Users
>
> -- OR --
>
> "User" signs up and selects the "Role" they are going to have as they 
> can have only 1 role sounds fine when you say it out load "Role" has 
> many "Users' sounds wrong....
>
> User hasOne Role
> Role hasMany Users
>
>
> So my question is how should this go?
>
> 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