Re: Auth component variables

2010-10-07 Thread Marco
did you try 'allowedActions' => '*', 'allow' is the method.

Marco

On Oct 6, 2:31 am, Jeremy Burns  wrote:
> Looking at this page in the 
> guide:http://book.cakephp.org/view/1251/Setting-Auth-Component-Variables,
> you'd think you could do this:
>
> var $components = array(
>   'Auth' => array(
>         /.../
>         'allow' => '*',
>         /.../
>  )
> );
>
> ...but it seems this is ignored. You have to specify $this->Auth-
>
> >allow('*'); in beforeFilter().
>
> Is this correct, or is it a bug?

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 cake-php@googlegroups.com
To unsubscribe from this group, send email to
cake-php+unsubscr...@googlegroups.com For more options, visit this group at 
http://groups.google.com/group/cake-php?hl=en


Auth component variables

2010-10-05 Thread Jeremy Burns
Looking at this page in the guide: 
http://book.cakephp.org/view/1251/Setting-Auth-Component-Variables,
you'd think you could do this:

var $components = array(
  'Auth' => array(
/.../
'allow' => '*',
/.../
 )
);

...but it seems this is ignored. You have to specify $this->Auth-
>allow('*'); in beforeFilter().

Is this correct, or is it a bug?

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 cake-php@googlegroups.com
To unsubscribe from this group, send email to
cake-php+unsubscr...@googlegroups.com For more options, visit this group at 
http://groups.google.com/group/cake-php?hl=en