[Zope-Checkins] CVS: Zope/lib/python/Products/ZCatalog - ZCatalog.py:1.92.2.5
Andreas Jung
andreas@zope.com
Thu, 23 Aug 2001 06:30:16 -0400
Update of /cvs-repository/Zope/lib/python/Products/ZCatalog
In directory cvs.zope.org:/tmp/cvs-serv19856/lib/python/Products/ZCatalog
Modified Files:
Tag: Zope-2_4-branch
ZCatalog.py
Log Message:
- Collector #2532: ZCatalog.availableSplitters is now protected
by security mechanism.
=== Zope/lib/python/Products/ZCatalog/ZCatalog.py 1.92.2.4 => 1.92.2.5 ===
'manage_catalogReindex', 'manage_catalogFoundItems',
'manage_catalogClear', 'manage_addColumn', 'manage_delColumns',
- 'manage_addIndex', 'manage_delIndexes', 'manage_main',],
+ 'manage_addIndex', 'manage_delIndexes', 'manage_main',
+ 'availableSplitters'],
['Manager']),
('Search ZCatalog',
@@ -236,7 +237,6 @@
self.title=title
self.vocabulary = None
- self.availableSplitters = Splitter.availableSplitters
self.threshold = 10000
self._v_total = 0
@@ -474,6 +474,12 @@
if REQUEST and RESPONSE:
RESPONSE.redirect(URL1 + '/manage_main?manage_tabs_message=Reindexing%20Performed')
+
+
+ def availableSplitter(self):
+ """ splitter we can add """
+ return Splitter.availableSplitters
+
def catalog_object(self, obj, uid=None, idxs=[]):
""" wrapper around catalog """