Do you have a pages controller? If so, adding:

parent::beforeFilter();
$this->Auth->allow('display');

..in your beforeFilter() ought to work.

Jeremy Burns
Class Outfit

[email protected]
http://www.classoutfit.com

On 4 Oct 2010, at 21:31, redleon wrote:

> I'm using Auth Component. Guest visitor can access register, login,
> remember_password etc. but can not access home page of the site.
> 
> I tried everythink i know.
> 
> For Auth->Allow () methot, i gave '/', 'home', 'display' parameters.
> But it has not worked.
> 
> I would like to give permission for guests to access home page of my
> site.
> 
> 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

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