I've checked my DB for records created with handy functions from
simple ACL app tutorial from Cake Book
http://book.cakephp.org/view/647/An-Automated-tool-for-creating-ACOs
(here copy-pasta from phpMyAdmin):

        Edit    Delete          23      19      NULL    NULL    admin_add       
43      44
        Edit    Delete  24      19      NULL    NULL    admin_edit      45      
46

So, I suppose, that it should be
$this->Acl->allow($role, 'controllers/Posts/manage_index');

plz try it out and give feedback if it works :)

On Dec 3, 6:55 pm, "Dave" <[email protected]> wrote:
> Just seeing if anyone knows since nobody replied to the question.
>
> When setting up the initDB() function for routing do you set it up as
> function name or url?
>
> $this->Acl->allow($role, 'controllers/Posts/manage_index');
>
> or
>
> $this->Acl->allow($role, 'controllers/Posts/manage/index');
>
> assuming "manage" is the admin routing prefix which is correct for the posts
>
> function manage_index () ?

Check out the new CakePHP Questions site http://cakeqs.org and help others with 
their CakePHP related questions.

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

Reply via email to