In your ACL plugin, you probably have something like

if (!$acl->isAllowed($role, $resource, $action)) $this->deny();

Set the $role to 'guest' if Zend_Auth::getInstance()->hasIdentity() is
false. But before that, make sure you don't flat out deny access if
hasIdentity() is false.


On Sat, Oct 25, 2008 at 2:24 AM, tony stamp <[EMAIL PROTECTED]> wrote:

>
> Yes i thought that setting a default role would be the best way to go - any
> advice (or links) on how to do it?
> --
> View this message in context:
> http://www.nabble.com/Setting-default-auth-object-tp20141150p20155405.html
> Sent from the Zend Framework mailing list archive at Nabble.com.
>
>


-- 
   -- Mon

Reply via email to