[Zope3-checkins] CVS: Zope3/src/zope/app/services - configure.zcml:1.23 folder.py:1.3
Jim Fulton
jim@zope.com
Sun, 23 Mar 2003 12:20:49 -0500
Update of /cvs-repository/Zope3/src/zope/app/services
In directory cvs.zope.org:/tmp/cvs-serv6999/src/zope/app/services
Modified Files:
configure.zcml folder.py
Log Message:
added a site-management folder api to get the conguration manager
=== Zope3/src/zope/app/services/configure.zcml 1.22 => 1.23 ===
--- Zope3/src/zope/app/services/configure.zcml:1.22 Sun Mar 23 11:45:44 2003
+++ Zope3/src/zope/app/services/configure.zcml Sun Mar 23 12:20:48 2003
@@ -252,7 +252,8 @@
interface="zope.app.interfaces.container.IReadContainer" />
<require
permission="zope.ManageServices"
- interface="zope.app.interfaces.container.IWriteContainer" />
+ interface="zope.app.interfaces.container.IWriteContainer"
+ attributes="getConfigurationManager" />
<implements
interface="zope.app.interfaces.annotation.IAttributeAnnotatable" />
=== Zope3/src/zope/app/services/folder.py 1.2 => 1.3 ===
--- Zope3/src/zope/app/services/folder.py:1.2 Sun Mar 23 12:13:42 2003
+++ Zope3/src/zope/app/services/folder.py Sun Mar 23 12:20:48 2003
@@ -49,7 +49,7 @@
else:
raise SystemError("Couldn't find an configuration manager")
-
+ getConfigurationManager = ContextMethod(getConfigurationManager)
class SiteManagementFolders(BTreeContainer):
__implements__ = ISiteManagementFolders