Commit 9347b1bf authored by Mohamadou Mbengue's avatar Mohamadou Mbengue

2010-06-23 mohamadou

* use role_name_list instead of role_name in procedure role information definition

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@36560 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent c78ca8df
...@@ -131,9 +131,10 @@ procedure_request.newContent(portal_type=\'Role Information\',\n ...@@ -131,9 +131,10 @@ procedure_request.newContent(portal_type=\'Role Information\',\n
#In this case a specific function sould be used as role_base_category_script_id\n #In this case a specific function sould be used as role_base_category_script_id\n
for (seq,role_definition) in map_group_function_dict.items():\n for (seq,role_definition) in map_group_function_dict.items():\n
role_name = role_definition[-1]\n role_name = role_definition[-1]\n
role_name_list = role_name.split(\',\')\n
procedure_request.newContent(portal_type=\'Role Information\',\n procedure_request.newContent(portal_type=\'Role Information\',\n
title=\'Role Information %s\' % (seq+1),\n title=\'Role Information %s\' % (seq+1),\n
role_name=role_name,\n role_name_list=role_name_list,\n
description=\'Generated Role Information - %s \' % role_name,\n description=\'Generated Role Information - %s \' % role_name,\n
role_base_category_list=\'group function\',\n role_base_category_list=\'group function\',\n
role_base_category_script_id=\'\',\n role_base_category_script_id=\'\',\n
...@@ -200,6 +201,7 @@ for (seq,role_definition) in map_group_function_dict.items():\n ...@@ -200,6 +201,7 @@ for (seq,role_definition) in map_group_function_dict.items():\n
<string>_write_</string> <string>_write_</string>
<string>seq</string> <string>seq</string>
<string>role_name</string> <string>role_name</string>
<string>role_name_list</string>
</tuple> </tuple>
</value> </value>
</item> </item>
......
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