Commit 29a8da6f authored by Sebastien Robin's avatar Sebastien Robin

added reindexing of security after the update of roles

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@14750 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent b87aef6c
......@@ -604,6 +604,8 @@ class ERP5TypeInformation( FactoryTypeInformation,
# We duplicate role settings to mimic PAS
ob.manage_addLocalGroupRoles(group, role_list)
ob.manage_addLocalRoles(group, role_list)
# Make sure that the object is reindexed
ob.reindexObjectSecurity()
# XXX compat. alias
security.declareProtected(Permissions.ModifyPortalContent,
......
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