[CMF-checkins] CVS: Products/CMFCore/interfaces - portal_catalog.py:1.10

Stefan H. Holek stefan at epy.co.at
Sat Aug 7 14:03:27 EDT 2004


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

Modified Files:
	portal_catalog.py 
Log Message:
Added unrestrictedSearchResults() to the catalog interface.


=== Products/CMFCore/interfaces/portal_catalog.py 1.9 => 1.10 ===
--- Products/CMFCore/interfaces/portal_catalog.py:1.9	Mon Apr 26 08:34:10 2004
+++ Products/CMFCore/interfaces/portal_catalog.py	Sat Aug  7 14:03:27 2004
@@ -26,13 +26,20 @@
 
     # searchResults inherits security assertions from ZCatalog.
     def searchResults(REQUEST=None, **kw):
-        '''Calls SiteIndex.searchResults() with extra arguments that
+        '''Calls ZCatalog.searchResults() with extra arguments that
         limit the results to what the user is allowed to see.
         '''
 
     # __call__ inherits security assertions from ZCatalog.
     def __call__(REQUEST=None, **kw):
         '''Same as searchResults().'''
+
+    def unrestrictedSearchResults(REQUEST=None, **kw):
+        '''Calls ZCatalog.searchResults() without any CMF specific
+        processing.
+
+        Permission -- Python only
+        '''
 
     def indexObject(object):
         """ Add to catalog.



More information about the CMF-checkins mailing list