Commit fbda0f1f authored by Julien Muchembled's avatar Julien Muchembled

Fix Base_reindexObjectSecurity when an allowed content is a solver

(cherry picked from commit 27126964)
parent 156bcb99
......@@ -4,8 +4,7 @@
# with lots of content could mean hours of non-usable overloaded system.
type_tool = context.getPortalObject().portal_types
for portal_type_name in context.getTypeInfo().getTypeAllowedContentTypeList():
portal_type = type_tool[portal_type_name]
if portal_type.getTypeAcquireLocalRole():
if getattr(type_tool, portal_type_name).getTypeAcquireLocalRole():
reindex = context.recursiveReindexObject
break
else:
......
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