[CMF-checkins] CVS: Products/CMFCore - CMFCatalogAware.py:1.21.2.3

Florent Guillaume fg at nuxeo.com
Fri Mar 25 12:24:34 EST 2005


Update of /cvs-repository/Products/CMFCore
In directory cvs.zope.org:/tmp/cvs-serv11253/CMFCore

Modified Files:
      Tag: CMF-1_5-branch
	CMFCatalogAware.py 
Log Message:
CMFCatalogAware: When reindexing security, all subobjects must be
reindexed even if they are not visible by the current user.



=== Products/CMFCore/CMFCatalogAware.py 1.21.2.2 => 1.21.2.3 ===
--- Products/CMFCore/CMFCatalogAware.py:1.21.2.2	Fri Sep  3 12:12:03 2004
+++ Products/CMFCore/CMFCatalogAware.py	Fri Mar 25 12:24:34 2005
@@ -84,7 +84,7 @@
         catalog = getToolByName(self, 'portal_catalog', None)
         if catalog is not None:
             path = '/'.join(self.getPhysicalPath())
-            for brain in catalog.searchResults(path=path):
+            for brain in catalog.unrestrictedSearchResults(path=path):
                 ob = brain.getObject()
                 if ob is None:
                     # Ignore old references to deleted objects.



More information about the CMF-checkins mailing list