From 303ee7b8d9b16bf3b559a7901ceb64698d695374 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fr=C3=A9d=C3=A9ric=20P=C3=A9ters?= Date: Tue, 11 Oct 2016 18:30:35 +0200 Subject: [PATCH] admin: rebuild formdata security columns after workflow change (#13554) --- wcs/admin/forms.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/wcs/admin/forms.py b/wcs/admin/forms.py index 531c5af..f0a2690 100644 --- a/wcs/admin/forms.py +++ b/wcs/admin/forms.py @@ -746,6 +746,8 @@ class FormDefPage(Directory): else: self.formdef.workflow_id = new_workflow.id self.formdef.store() + # instruct formdef to update its security rules + self.formdef.data_class().rebuild_security() return redirect('.') def workflow_status_remapping_submit(self, form): -- 2.9.3