[dev] [commits] Horde branch master updated. 7080e7ce1baa9b108fba10489cda8716d76a2053

Michael M Slusarz slusarz at horde.org
Sun Jan 31 04:25:35 UTC 2010


Quoting Ben Klang <ben at alkaloid.net>:

> What about for getting permissions arrays using the application's  
> backend?  Do you have advice on how to make sure the application can  
> get initialized without pushing it on the stack?  Or where or how  
> the application should instantiate the drivers when called like that?

The application *must* be initialized before permissions checking is  
done.  There shouldn't be anything you have to do to have this happen  
- in other words, at the beginning of perms() in *_Application() (or  
any other function in *_Application other than the constructor and the  
init() related functions), you should be in that application's scope  
and the init() code has already been run.  All this should be taken  
care in Horde_Registry (specifically pushApp()).  As previously  
mentioned - if the full app is not initialized inside an Application  
function, this is an error in Horde_Registry somewhere.  But no matter  
what I do, I can not reproduce this.

michael

-- 
___________________________________
Michael Slusarz [slusarz at horde.org]



More information about the dev mailing list