diff --git a/bt5/erp5_egov/ExtensionTemplateItem/SetUpEGovInstance.py b/bt5/erp5_egov/ExtensionTemplateItem/SetUpEGovInstance.py index f126a20fe91457740aa929ea033eda7bcda81690..b220ecb2e6b733d0a9b6ca44473006c74ecb017d 100644 --- a/bt5/erp5_egov/ExtensionTemplateItem/SetUpEGovInstance.py +++ b/bt5/erp5_egov/ExtensionTemplateItem/SetUpEGovInstance.py @@ -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' diff --git a/bt5/erp5_egov/bt/change_log b/bt5/erp5_egov/bt/change_log index 1bf417b8c75d3d962da3febf8548a49b820a15d1..795cba835ff291151ade1c581fce7be00436a440 100644 --- a/bt5/erp5_egov/bt/change_log +++ b/bt5/erp5_egov/bt/change_log @@ -1,3 +1,6 @@ +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 diff --git a/bt5/erp5_egov/bt/revision b/bt5/erp5_egov/bt/revision index b7f636c12f2d1e46ea0e18d8812c2e573721f5f8..ed4df3c909416ce15dc1a8653600d7ff03c6e99c 100644 --- a/bt5/erp5_egov/bt/revision +++ b/bt5/erp5_egov/bt/revision @@ -1 +1 @@ -665 \ No newline at end of file +666 \ No newline at end of file