I don't see where you created the ACO node with the alias 'access'. You must create an aco node for every possible node that will be requested.
A check on a non-existant node will return FALSE, and give you a result of "not allowed". On Jun 16, 9:06 am, elGEoRgE <[EMAIL PROTECTED]> wrote: > RC1 nightly 14.06.2008. I also had this problem in RC1 HEAD revision. > PHP 5 > MySQL 5 > SO: Ubuntu 8.04 > > On Jun 14, 6:42 pm, "Christian Winther" <[EMAIL PROTECTED]> wrote: > > > RC1 / SVN HEAD of cake1.2 - and what dbo type? > > > -----Original Message----- > > From: cake-php@googlegroups.com [mailto:[EMAIL PROTECTED] On Behalf Of > > elGEoRgE > > Sent: 15. juni 2008 01:11 > > To: CakePHP > > Subject: ACLinheritaccess not working > > > I have 2 tables: users and groups. So I setup my aco/aro configuration > > accordingly. > > The problem is that when I setup the parent permission, the check for > > child permissions wont work: > > I created the schema from scratch: > > ----------- > > cd 1.2.x.x_14.06.2008/cake/console > > $ ./cake schema run create DbAcl > > $ ./cake acl create aco / ROOT > > New Aco 'ROOT' created. > > $ ./cake acl create aco ROOT Users > > New Aco 'Users' created. > > $ ./cake acl create aro / Group.1 > > New Aro 'Group.1' created. > > $ ./cake acl create aro Group.1 User.2 > > New Aro 'User.2' created. > > $ ./cake acl grant User.2 Users all > > Permission granted. > > $ ./cake acl check User.2 Users all > > Array is allowed. > > $ ./cake acl check User.2 Users/access all > > Array is not allowed. > > ------------- > > so I also ran the tests: > > >http://localhost/test.php?group=acl > > > And it fails: > > 3/3 test cases complete: 116 passes, 30 fails and 164 exceptions. > > > I would like to know if anybody has had the same problem or if anybody > > found a solution to this. --~--~---------~--~----~------------~-------~--~----~ 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 [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/cake-php?hl=en -~----------~----~----~----~------~----~------~--~---