Commit 305928de authored by Jérome Perrin's avatar Jérome Perrin

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
parent 51c16a3f
...@@ -330,6 +330,7 @@ def setupERP5Workflow(wf): ...@@ -330,6 +330,7 @@ def setupERP5Workflow(wf):
wf.variables.addVariable(v) wf.variables.addVariable(v)
for perm in (Permissions.AccessContentsInformation, for perm in (Permissions.AccessContentsInformation,
Permissions.View, Permissions.View,
Permissions.AddPortalContent,
Permissions.ModifyPortalContent ): Permissions.ModifyPortalContent ):
wf.addManagedPermission(perm) wf.addManagedPermission(perm)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment