Commit 6a395ac1 authored by Alexandre Boeglin's avatar Alexandre Boeglin

As suggested by Yoshinori, make getCatalogSearchResultKeys a public method:

- it does not return sensible information anyways
- it fixes the infinite loop in ERP5Security


git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@5674 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 002429f3
...@@ -235,7 +235,7 @@ class Catalog(Folder, Persistent, Acquisition.Implicit, ExtensionClass.Base): ...@@ -235,7 +235,7 @@ class Catalog(Folder, Persistent, Acquisition.Implicit, ExtensionClass.Base):
'getpath', 'schema', 'names', 'columns', 'indexes', 'index_objects', 'getpath', 'schema', 'names', 'columns', 'indexes', 'index_objects',
'all_meta_types', 'valid_roles', 'resolve_url', 'all_meta_types', 'valid_roles', 'resolve_url',
'getobject', 'getObject', 'getObjectList', 'getCatalogSearchTableIds', 'getobject', 'getObject', 'getObjectList', 'getCatalogSearchTableIds',
'getCatalogSearchResultKeys', 'getFilterableMethodList', ], 'getFilterableMethodList', ],
['Anonymous', 'Manager']), ['Anonymous', 'Manager']),
('Import/Export objects', ('Import/Export objects',
...@@ -675,6 +675,7 @@ class Catalog(Folder, Persistent, Acquisition.Implicit, ExtensionClass.Base): ...@@ -675,6 +675,7 @@ class Catalog(Folder, Persistent, Acquisition.Implicit, ExtensionClass.Base):
return self.sql_search_tables return self.sql_search_tables
security.declarePublic('getCatalogSearchResultKeys')
def getCatalogSearchResultKeys(self): def getCatalogSearchResultKeys(self):
"""Return search result keys. """Return search result keys.
""" """
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment