Firstly, there is already a post about this but it did not help.

I'm building a simple little time tracker and there is what I think to
be a 3 HABTM association between Projects, Users and Roles as follows:

  - A Project has many Users
  - A User has many Roles
  - A Project has many Roles

In other words, each project has multiple users that each have a
project role (e.g. developer, manager) so the table looks like:

id  | project_id  | user_id  | role_id

Not only am I unclear of how the associations code should work, I'm
also unclear of where creating, editing, deleting project user roles
would sit in my application in terms of controllers and actions? Is it
actions of the project controller or is it it's own controller
ProjectUserRoles?

If I've adequately described myself, you'll see this is a question not
only about Cake Associations, but also Cake Application Design and I
really hope someone can help and I promise that if we successfully nail
this problem, a good wiki tutorial will follow.

Thanks heaps in advance,
Ryno


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Cake 
PHP" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at http://groups.google.com/group/cake-php
-~----------~----~----~----~------~----~------~--~---

Reply via email to