[Zope3-dev] Re: zope.app.publication uses hard coded global registry

Philipp von Weitershausen philipp at weitershausen.de
Wed Apr 25 14:26:28 EDT 2007


Christian Theune wrote:
> Hi,
> 
> I'm trying to set up a PAU for a ZODB less application. I stumbled over
> the fact that zope.app.publication.zopepublication.ZopePublication uses
> an imported singleton of the global registry.
> 
> This registry is also registered as a utility, so IMHO this should be
> done by calling getGlobalSiteManager().getUtility(IAuthentication)
> instead of using this hard coded thing. :/

+1

-- 
http://worldcookery.com -- Professional Zope documentation and training


More information about the Zope3-dev mailing list