Seems like a bit of a hack, but it's working. Thanks :)

Mark

On Sep 13, 2:40 am, "Jon Bennett" <[EMAIL PROTECTED]> wrote:
> Hi Mark,
>
> > So, I've got my ACL and Authentication all set up nicely, but I want
> > to allow unlogged-in users to view everything. For consistency, I'd
> > like to keep these permissions in the database. So, I've created an
> > ARO with guest privileges... but how can I tell it to use it when no
> > one is logged in?
>
> I guess you'd have to simulate the sign in of a guest user? in your
> app_controller check to see if there's an active auth session, if not
> pass an array containing the guest info the $this->Auth->login();
>
> hth
>
> jon
>
> --
>
> jon bennett
> w:http://www.jben.net/
> iChat (AIM): jbendotnet Skype: jon-bennett
--~--~---------~--~----~------------~-------~--~----~
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