force reindexation of security after the field has been changed (#4845)

This commit is contained in:
Frédéric Péters 2014-07-02 15:58:28 +02:00
parent 10b2aab7ac
commit 181d0949b2
1 changed files with 2 additions and 0 deletions

View File

@ -117,6 +117,8 @@ class LocalRolesToPrincipalsDataManager(AttributeField):
# finally set the value
super(LocalRolesToPrincipalsDataManager, self).set(value)
self.context.reindexObjectSecurity()
import plone.supermodel.exportimport
LocalRolesToPrincipalsHandler = plone.supermodel.exportimport.BaseHandler(LocalRolesToPrincipals)