Log message for revision 65833: Provide missing security declarations for 'ZCacheable_isAMethod' and 'ZCacheable_getManagerURL'.
Changed: U Zope/trunk/lib/python/OFS/Cache.py -=- Modified: Zope/trunk/lib/python/OFS/Cache.py =================================================================== --- Zope/trunk/lib/python/OFS/Cache.py 2006-03-06 15:31:33 UTC (rev 65832) +++ Zope/trunk/lib/python/OFS/Cache.py 2006-03-06 15:31:58 UTC (rev 65833) @@ -146,6 +146,8 @@ ''' return self.__enabled and self.ZCacheable_getCache() + security.declareProtected(ViewManagementScreensPermission, + 'ZCacheable_isAMethod') def ZCacheable_isAMethod(self): ''' Returns 1 when this object is a ZClass method. @@ -274,6 +276,8 @@ '''Returns the id of the current ZCacheManager.''' return self.__manager_id + security.declareProtected(ViewManagementScreensPermission, + 'ZCacheable_getManagerURL') def ZCacheable_getManagerURL(self): '''Returns the URL of the current ZCacheManager.''' manager = self.ZCacheable_getManager() _______________________________________________ Zope-Checkins maillist - Zope-Checkins@zope.org http://mail.zope.org/mailman/listinfo/zope-checkins