Commit d034509a authored by Sebastien Robin's avatar Sebastien Robin

We must call getSecurityUid only once !!!!


git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@2622 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent cd92f28e
......@@ -345,7 +345,6 @@ class CatalogTool (UniqueObject, ZCatalog, CMFCoreCatalogTool, ActiveObject):
for i in range(0, len(object_path) - len(portal_path) - 2):
document_object = document_object.aq_parent
document_w = IndexableObjectWrapper({}, document_object)
(security_uid, optimised_roles_and_users) = catalog.getSecurityUid(document_w)
else:
document_w = w
......
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