Commit 350d1e3e authored by Sebastien Robin's avatar Sebastien Robin

update also security on organisations

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@15234 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 2bedb6a0
...@@ -691,7 +691,7 @@ class BaobabConduit(ERP5Conduit): ...@@ -691,7 +691,7 @@ class BaobabConduit(ERP5Conduit):
if object.getPortalType() == 'Bank Account' and object.getValidationState()!='valid': if object.getPortalType() == 'Bank Account' and object.getValidationState()!='valid':
object.portal_workflow.doActionFor(object, 'validate_action', object.portal_workflow.doActionFor(object, 'validate_action',
wf_id='bank_account_workflow') wf_id='bank_account_workflow')
if object.getPortalType() == 'Person': if object.getPortalType() in ('Person','Organisation'):
object.updateLocalRolesOnSecurityGroups() object.updateLocalRolesOnSecurityGroups()
......
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