Commit 285cad69 authored by Mohamadou Mbengue's avatar Mohamadou Mbengue

* update the local role after creating role information

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@36784 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 424edafb
......@@ -53,6 +53,8 @@ def allowAccessOnPersonAndOrganisation(self):
title='Agent Administratif',
role_name='Auditor',
role_category_list=role_category_list)
for ptype in portal_type_list:
ptype.updateRoleMapping()
return '- Access on Person and Organisation allowed for administrative agent'
......
2010-07-01 mohamadou
* update the local role after creating role information
2010-07-01 mayoro
* Test if the returned title or portal_type of attachments are not None before proceed
......
665
\ No newline at end of file
666
\ 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