I think you misinterpreted my confusion, actually. I was referring to the groups table, not aros. I see now that (i think) i don't need a parent_id in groups and that i should deal with the nesting entirely in aros.
On Sat, Mar 28, 2009 at 11:51 AM, brian <[email protected]> wrote: > It "clearly states" that, does it? Would you mind pointing out that > line? I've just read that section for probably the 5th time and I > don't see it. I'm more than willing to admit that I'm still missing > it, though, as this entire subject has been rather confusing. > > On Sat, Mar 28, 2009 at 11:07 AM, Smelly Eddie <[email protected]> wrote: >> >> Yes if you read the ACL section of the manual it clearly states to use >> null for the top level group. >> >> It is advisable in my opinion to make one group 'entire_site' and give >> yourself unfettered access without having to declare things >> individually. THis group would have a parent id of nul. >> >> >> >> On Mar 27, 12:44 pm, brian <[email protected]> wrote: >>> Thanks for the link but it doesn't explain what I'm looking for, which >>> is the DB table schema. I'm familiar with MPTT (and have used it >>> before) but Cake's parent_id has me confused. >>> >>> But I thought to look at db_acl.sql, which shows parent_id DEFAULT >>> NULL so I'll go with that. >>> >>> On Fri, Mar 27, 2009 at 5:27 AM, djiize <[email protected]> wrote: >>> >>> > For nested groups, you should read this post: >>> >http://edwardawebb.com/programming/php-programming/cakephp/nested-tre... >>> >>> > In ACL, I (personnaly) think it's a good idea to have a ROOT group, >>> > even if you don't use it now, maybe later ;) >>> >>> > If you don't want one, a NULL value should suffice. >>> >>> > On 27 mar, 05:16, brian <[email protected]> wrote: >>> >> I need to have nested groups, so the table has a parent_id column. >>> >> But, should top-level groups have a NULL parent_id? Or would there >>> >> have to be a ROOT group, so to speak? I'm having a real hard time >>> >> sorting all this out. >> >> >> > --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "CakePHP" 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?hl=en -~----------~----~----~----~------~----~------~--~---
