It doesn't appear that it's working yet. I've followed the Cookbook
verbatim and I'm receiving the same error as the OP.

On Oct 29, 5:46 am, fly2279 <[email protected]> wrote:
> The cookbook has been updated to include the actionPath in theAuth
> initialization. All works well now.
>
> On Oct 28, 9:10 am, fly2279 <[email protected]> wrote:
>
>
>
>
>
>
>
> > I'm having trouble with the cookbook's acl app. I followed the
> > tutorial EXACTLY and after assigning permissions, I can't access any
> > of the acl protected (not explicitly allowed in beforeFilter) actions
> > when logged in with a user that belongs to group 1 in the initDB
> > method.
>
> > Is there a piece missing from the cookbook to make it work? I have the
> > following code below in my AppController:
>
> > [code]
>
> > public $components = array(
>
> > 'Acl',
>
> > 'Auth' => array('authorize' => array('Actions')),
>
> > 'Session'
>
> > );
>
> > public $helpers = array('Html', 'Form', 'Session');
>
> > function beforeFilter() {
>
> > //Configure AuthComponent
>
> > $this->Auth->loginAction = array('controller' => 'users', 'action' =>
> > 'login');
>
> > $this->Auth->logoutRedirect = array('controller' => 'users', 'action'
> > => 'login');
>
> > $this->Auth->loginRedirect = array('controller' => 'posts', 'action'
> > => 'add');
>
> > $this->Auth->allow('display');
>
> > }[/code]

-- 
Our newest site for the community: CakePHP Video Tutorials 
http://tv.cakephp.org 
Check out the new CakePHP Questions site http://ask.cakephp.org and help others 
with their CakePHP related questions.


To unsubscribe from this group, send email to
[email protected] For more options, visit this group at 
http://groups.google.com/group/cake-php

Reply via email to