I have asked a similar question a few days ago. If I understood you correctly, then you basically want people to be member of more than one group. I have been told that I would leave the normal acl way there and I would have to implement my authentication myself. Basically something like;
// in beforeFilter() eventually in app_controller.php $this->Auth->authorize = 'controller'; and then implement a function isAuthorized() function isAuthorized() { // get authed user // Loop his groups // foreach group call $this->Acl->check($group, $current_aco_path) // if one call returns true, return true else false } regards, Jens On 7 Jan., 14:18, Pehmolelu <pehmol...@gmail.com> wrote: > Hi folks! :) > > Im building a website and decided to use CakePHP as framework. So Im > totally new to the framework and Im not familiar with alots of things. > I have though spent tens of hours reading the CookBook througtly. > > I have a problem with ACL in my website, which is the reason Im > writing this. I have read about the tree structure and dont know > really if it fits to my purposes. Let me back up the story a bit... > > My website is divided in quite many sections. There are few groups who > can control specific sections: > > Admins - Controls all > General moderators - Controls same sections as moderators but with > higher priviledges over some actions. They dont control things that > content developers or general developers control. > Moderators - Controls some sections (different than content > developers). > General content developers - Controls same sections as content > developers but with higher priviledges over some actions.They dont > control things that moderators or general moderators control. > Content developers - Controls some sections (different than > moderators). > > These are the "main" groups. However, there can be people who are > mixed in groups like being General moderator and General content > developer. Or being content developer and General moderator. so > basically I would want a person to be able to be in multiple groups > but as far as I understand this is not possible? > > There are also "special" groups (or roles) like "News writers" and > "Critics" which have their specific sections that they are allowed to. > Id like to have General moderators plus Admins ofcourse to have the > priviledges these controls are accessed to. I'd also like to have some > specific users from other groups to be in these groups(roles). Like > Moderator being able to be in Critics group (or being a critic) aswell > and thus having both pribiledges. > > How I can achieve this type of ACL with CakePHP? What approach I > should use? If there is any good documentation somewhere, please link > it. Im really interested in CakePHP and want to read more if there is > some. > > Thanks :) Check out the new CakePHP Questions site http://cakeqs.org and help others with their CakePHP related questions. 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