Commit 7d42e55b authored by Vincent Pelletier's avatar Vincent Pelletier

Add a warning about inconsistency between security query and regular queries in catalog choice.


git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@15485 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 5458fb16
......@@ -465,6 +465,10 @@ class CatalogTool (UniqueObject, ZCatalog, CMFCoreCatalogTool, ActiveObject):
"""
Return a list of security Uids and a dictionnary containing available
role columns.
XXX: This method always uses default catalog. This should not break a
site as long as security uids are considered consistent among all
catalogs.
"""
allowedRolesAndUsers, role_column_dict = self.getAllowedRolesAndUsers(**kw)
catalog = self.getSQLCatalog()
......
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