From 305928dee87a798d5285846d746d8870bf55c4bd Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=A9rome=20Perrin?= <jerome@nexedi.com>
Date: Thu, 11 May 2006 15:12:55 +0000
Subject: [PATCH] add AddPortalContent to managed permission in ERP5 workflow
 factory

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@7207 20353a03-c40f-0410-a6d1-a30d3c3de9de
---
 product/ERP5Type/patches/DCWorkflow.py | 1 +
 1 file changed, 1 insertion(+)

diff --git a/product/ERP5Type/patches/DCWorkflow.py b/product/ERP5Type/patches/DCWorkflow.py
index bbc3892028..498b51ca05 100644
--- a/product/ERP5Type/patches/DCWorkflow.py
+++ b/product/ERP5Type/patches/DCWorkflow.py
@@ -330,6 +330,7 @@ def setupERP5Workflow(wf):
     wf.variables.addVariable(v)
   for perm in (Permissions.AccessContentsInformation,
                Permissions.View,
+               Permissions.AddPortalContent,
                Permissions.ModifyPortalContent ):
     wf.addManagedPermission(perm)
 
-- 
2.30.9