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

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


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

Modified Files:
	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.23 => 1.24 ===
--- Products/CMFCore/CMFCatalogAware.py:1.23	Fri Sep  3 11:58:48 2004
+++ Products/CMFCore/CMFCatalogAware.py	Fri Mar 25 12:25:57 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