[Zope3-checkins] CVS: Zope3/src/zope/app/interfaces/services -
service.py:1.16
Jim Fulton
cvs-admin at zope.org
Fri Dec 5 09:15:58 EST 2003
Update of /cvs-repository/Zope3/src/zope/app/interfaces/services
In directory cvs.zope.org:/tmp/cvs-serv14130/src/zope/app/interfaces/services
Modified Files:
service.py
Log Message:
Fixed a bug in creating local sites.
A local site has a next attribute that referes to teh containing site.
It needs to make sire that the next attribute os not security wrapped.
Also, when a site is added, it needs to add itself as a subsite of
it's containing site. The method for doing this did not have a
secirity assertion.
=== Zope3/src/zope/app/interfaces/services/service.py 1.15 => 1.16 ===
--- Zope3/src/zope/app/interfaces/services/service.py:1.15 Tue Sep 2 16:46:47 2003
+++ Zope3/src/zope/app/interfaces/services/service.py Fri Dec 5 09:15:27 2003
@@ -109,6 +109,13 @@
The service must be returned in the context of the service manager.
"""
+ def addSubsite(subsite):
+ """Add a subsite of the site
+
+ Local sites are connected in a tree. Each site knows about
+ it's containing sites anb it's subsites.
+ """
+
class IServiceRegistration(registration.INamedComponentRegistration):
"""Service Registration
More information about the Zope3-Checkins
mailing list