[Zope-Checkins]
SVN: Zope/branches/philikon-local-components/lib/python/OFS/ObjectManager.py
Security declarations for IPossibleSite API.
Philipp von Weitershausen
philikon at philikon.de
Tue Apr 4 02:50:10 EDT 2006
Log message for revision 66365:
Security declarations for IPossibleSite API.
Changed:
U Zope/branches/philikon-local-components/lib/python/OFS/ObjectManager.py
-=-
Modified: Zope/branches/philikon-local-components/lib/python/OFS/ObjectManager.py
===================================================================
--- Zope/branches/philikon-local-components/lib/python/OFS/ObjectManager.py 2006-04-04 06:43:41 UTC (rev 66364)
+++ Zope/branches/philikon-local-components/lib/python/OFS/ObjectManager.py 2006-04-04 06:50:10 UTC (rev 66365)
@@ -171,11 +171,13 @@
_components = None
+ security.declarePublic('getSiteManager')
def getSiteManager(self):
if self._components is None:
raise ComponentLookupError('No component registry defined.')
return self._components
+ security.declareProtected('Manage Site', 'setSiteManager')
def setSiteManager(self, components):
self._components = components
More information about the Zope-Checkins
mailing list