From 7d42e55ba35b7d2353f2332e52764033fef0fe7b Mon Sep 17 00:00:00 2001
From: Vincent Pelletier <vincent@nexedi.com>
Date: Mon, 6 Aug 2007 08:40:27 +0000
Subject: [PATCH] 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
---
 product/ERP5Catalog/CatalogTool.py | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/product/ERP5Catalog/CatalogTool.py b/product/ERP5Catalog/CatalogTool.py
index df75407b27..c07e6d45d2 100644
--- a/product/ERP5Catalog/CatalogTool.py
+++ b/product/ERP5Catalog/CatalogTool.py
@@ -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()
-- 
2.30.9