Yeah, maybe this is the only way I can access post detail now.
I assume there is ancymous role in my ACL model. And the detail view page
can be accessed by ancymous user. But now it seems I should give up this
way.

On Thu, Mar 5, 2009 at 7:07 PM, Miles J <[email protected]> wrote:

>
> Add this to your posts beforeFilter(). You must allow pages to be
> viewed publicly (meaning without logging in), else they are required
> to login.
>
> $this->Auth->allow('detail');
>
> You also dont need to call ACL twice.
> >
>


-- 
Thanks
Joshua

--~--~---------~--~----~------------~-------~--~----~
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