Reindex object security
This commit is contained in:
parent
00466c83a7
commit
a5d4dbfa8c
|
@ -93,6 +93,7 @@ class CancelTaskAttribution(z3c.form.form.Form):
|
|||
else:
|
||||
# delete local roles for user
|
||||
document.manage_delLocalRoles([responsible])
|
||||
document.reindexObjectSecurity()
|
||||
|
||||
# remove relevant subtask
|
||||
self.context.manage_delObjects(subtask.id)
|
||||
|
|
|
@ -80,6 +80,7 @@ class CancelInformation(z3c.form.form.Form):
|
|||
else:
|
||||
# delete local roles for user
|
||||
self.context.manage_delLocalRoles([responsible_id])
|
||||
self.context.reindexObjectSecurity()
|
||||
|
||||
email_notification_of_canceled_information(information)
|
||||
|
||||
|
|
Reference in New Issue