Hi! I've a doubt with a relation, this's my db model

*Permissions* (eg: Add, view, edit, ...)
  - permission_id
  - description

*Pages* (eg: Users, Reports, ...)
  - page_id
  - description

*Permissions_Pages* (this has all the actions in a page, eg: Users add, 
Users view, ...)
  - permissions_page_id
  - permission_id
  - page_id
  
*Groups* (eg: Admin, Guest, ...)
  - group_id
  - description

*Permissions_Groups* (all the permissions by group)
  - group_id
  - permissions_page_id

My problem is that I can't get to work the relation Groups with 
Permisions_Groups. 
In the Add Group screen, I want a field for Group description (store that in 
Groups) and a list with all the available permissions_pages so I can choose 
from there and store in Permissions_Groups.

Thanks in advanced!!!

-- 
Our newest site for the community: CakePHP Video Tutorials 
http://tv.cakephp.org 
Check out the new CakePHP Questions site http://ask.cakephp.org and help others 
with their CakePHP related questions.


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