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 _______________________________________________ Zope-Checkins maillist - Zope-Checkins@zope.org http://mail.zope.org/mailman/listinfo/zope-checkins