Hello everyone, I have a query regarding how to structure the ACL system in my app.
Basically i'm creating a management app for a diving club. The club has three broad groups, - Instructors - Trainees - Committee The ACL tree looks like this at the moment - Sebastian (name of site) ---- Overlord (a master account) ----- Committee --------- President --------- Treasurer --------- etc. ----- Instructors --------- Practical --------- Theory ----- Trainees Each position above is a group (name, description) which have many to one relationships with a user (username, password, name). The above system works fine except for one problem. Committee members are always either an instructor or trainee, therefore they need to be assigned to two groups (instructor/trainee AND the relevant committee position). Basically I need to place a user into two levels in the tree which aren't related to each other hierarchically. As far as I know this isn't possible with Cake's ACL component unless theres something I've missed. I know the relationship between groups -- users needs changing to a HABTM relationship but I'm unsure how ACL treats these. Has anyone come across this sort of problem before and able to outline their solution, or have I been an idiot and missed something really obvious. Sorry for such a long message, I didn't want to miss anything out - thanks in advance, --Felix Fennell -- 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
