Commit b58139bf authored by Mohamadou Mbengue's avatar Mohamadou Mbengue

add assignee default role on procedure portal type role information

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@36889 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent a62ea567
......@@ -108,7 +108,7 @@ for i in range (nb_line)[1:]:\n
map_group_function_dict[j] = param_list\n
j=j+1\n
\n
"""\n
\n
#Create the default role for Assignee\n
procedure_request.newContent(portal_type=\'Role Information\',\n
title=\'Default Assignee Role Information\',\n
......@@ -116,15 +116,16 @@ procedure_request.newContent(portal_type=\'Role Information\',\n
description=\'Last assigned person\',\n
role_base_category_script_list=\'group function site\',\n
role_base_category_script_id=\'ERP5Site_getSecurityFromWorkflowAssignment\',\n
role_category_list=\'role/gouvernement*\')\n
)\n
\n
#Create Associate role\n
"""\n
#Create Associate user or service role\n
procedure_request.newContent(portal_type=\'Role Information\',\n
title=\'Default Associate Role Information\',\n
role_name=[Associate, Auditor],\n
title=\'Default Associate User or Service Role Information\',\n
role_name_list=[Associate, Assignee],\n
description=\'Any associate user or service\',\n
role_base_category_script_id=\'ERP5Site_getSecurityFromWorkflowAssignment\',\n
role_category_list=\'role/gouvernement*\')\n
role_base_category_script_id=\'ERP5Site_getSecurityFromWorkflowHistory\',\n
)\n
"""\n
\n
#XXX Sometimes securities are generated using information in form\n
......
2010-07-06 mohamadou
* add assignee default role on procedure portal type role information
2010-07-05 mayoro
* remove proxy role manager for Script PDFType_viewDefaultForm to avoid displaying tab meta data
* clean history displaying, remove duplicate lines for actions like approve and approve actions
......
680
\ No newline at end of file
681
\ No newline at end of file
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