diff --git a/product/ERP5Type/Base.py b/product/ERP5Type/Base.py index 9775b9d64c50050a551a1addbb8a073013d20f2a..4e2e920b1faded309e36cb5aed66375fa010a99c 100644 --- a/product/ERP5Type/Base.py +++ b/product/ERP5Type/Base.py @@ -3115,6 +3115,9 @@ class Base( CopyContainer, def updateRoleMappingsFor(self, wf_id, **kw): """ Update security policy according to workflow settings given by wf_id + + There's no check that the document is actually chained to the workflow, + it's caller responsability to perform this check. """ workflow = self.portal_workflow.getWorkflowById(wf_id) if workflow is not None: