Re: idea of an array/callback storage
Arnaud Limbourg <arnaud-GdXxm9JVFPlWk0Htik3J/[email protected]> Sun, 06 Nov 2005 21:07:51 +0100
| Newsgroups | gmane.comp.php.pear.liveuser |
|---|---|
| Message-ID | <[email protected]> |
Matthias Nothhaft wrote:
> Hi List,
>
> wouldn't it be nice to have a storage driver for both, auth and perm,
> like that:
>
> function readUserRights($perm_user_id)
> {
> call_user_func_array($this->_callback['perm']['readUserRights'],
> array('perm_user_id' => $perm_user_id);
> }
>
> The problem is: We need some documentation of the return results ;-)
We need documentation :)
I've also noticed that when adding a user via the admin API there can be
a failure on one container. You can then end up with the user added to
the auth container and not the perm, I am unsure how to solve that in a
correct way.
Arnaud.