As brian pointed out, you could do certain things if you didn't want
to allow *all* pages to be visible.

To allow non-registered users to view pages, you would add 'display'
to your array of allowed pages, as that's the method the
PagesController uses to render your pages.  (Just like viewing the
index of a certain model is using the index *action* of that
controller.

On May 3, 1:19 pm, AGD <anibaldam...@gmail.com> wrote:
> I'm using
>
> $this->Auth->allow('index');
>
> in my controllers wildly, but cannot figure out how to allow one
> specific page (like the home). Has anyone experienced this, and how
> did you solved it?
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to