I got mine working using HABTM as described in the OP. 1. Followed steps in original post. 2. Commented out both references to $row[$this->user_model][$this- >user_table_gid]; 3. In function _othCheckPermission, changed: if(!isset($ses[$this->group_model][$this->permission_model])) to: if(!isset($ses[$this->group_model][0][$this->permission_model])) 4. Then added: $ses_perms = array(); Before foreach ($ses[$this->group_model] as $groups)
Seems to work (But I've only tested using one user in one group having the '*' permission). --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Cake PHP" group. To post to this group, send email to cake-php@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/cake-php?hl=en -~----------~----~----~----~------~----~------~--~---