I used command line to create a group in aro

php acl.php create aro 0 0 user.all
php acl.php create aro 0 0 user.general
php acl.php create aro 0 0 user.sales

I would like the tree like
user.all
 |- user.general
 |- user.sales

I try to use setParent(), which is not working
>>php acl.php setParent aro 2 1
>>Error in setting new parent. Please make sure the parent node exists, and is 
>>not a descendant of the node specified.

base on the help file setParent aro|aco <id> <parent_id>
<id>, <parent_id> should be the database id, right ?

OR How can I do the relationshop when I create the group ?
php acl.php create aro 0 xx user.all

Thanks


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Cake 
PHP" 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
-~----------~----~----~----~------~----~------~--~---

Reply via email to