Re: setAdminContainers changed to what ?

Lukas Kahwe Smith <[email protected]> Fri, 27 Jan 2006 09:16:17 +0100
Newsgroups gmane.comp.php.pear.liveuser
Message-ID <[email protected]>
Dan Rossi wrote:
> It looks like some major changes happened in the login method, ive gone 
> through and debugged where the problem was.
> 
>  if (!$perm->mapUser($auth->getProperty('auth_user_id'), $containerName)) {
>                         $this->dispatcher->post($this, 'onFailedMapping');
>                     } else {
>                         $this->_perm =& $perm;
>                     }
> 
> Should it not be a call to errrorstack then i would have known what the 
> problem was, should i setup a callback method for this then ? I think 
> this should be calling error stack however is perm containers optional ?

yes you need to it in an observer if you want to handle a failed mapping 
as an error.

a number of people just use liveuser to integrate several authentication 
sources without any permissions.

regards,
Lukas