I did some testing, and using the same method as you did for creating
aro / aco. Actually if you create the aro / acos using the console it
works.
Using create and save does not seem to fill up the lft /  rght fields.

use the command line for creating aro such as :

cake -app 'yourapp' acl create aro / Users
cake -app 'yourapp' acl create aro Users Admin

Do the same for the acos..

However the "grant" command seems not to work, for this I used the
$this->Acl->allow / deny


On Jul 12, 8:24 pm, Pillow <[EMAIL PROTECTED]> wrote:
> On 12 Lip, 19:20, Ketan Patel <[EMAIL PROTECTED]> wrote:
>
> > Did you check in database to see whether your AROs and ACOs are with
> > proper parent/child relationship? Or use console to check
>
> > "cake acl view aros"
>
> Yes, everything seems to be alright. Shell script outputs nice trees.
>
> > Acl works fine the way it is. Also, look in the ACL behavior, this
> > will save you the trouble from repeating yourself as it would create
> > Aros or Acos depending on setup automatically when there is a save
> > action and would delete when record is deleted, pretty slick.
>
> Hmm, thx :)


--~--~---------~--~----~------------~-------~--~----~
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