Commit d35c89e9 authored by Julien Muchembled's avatar Julien Muchembled

Do not reindex object security on newly created objects

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@30312 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent c9ea2b02
......@@ -378,7 +378,7 @@ class ERP5TypeInformation(XMLObject,
# workflow and it is annoyning without security setted
ob.portal_type = self.getId()
self.updateLocalRolesOnDocument(ob)
self.updateLocalRolesOnDocument(ob, reindex=False)
# notify workflow after generating local roles, in order to prevent
# Unauthorized error on transition's condition
......
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