Commit 8fa58178 authored by Paul Graydon's avatar Paul Graydon

erp5_wendelin: Update local roles on Data Analysis creation

parent baf1518b
...@@ -194,9 +194,11 @@ for movement in portal_catalog(query = query): ...@@ -194,9 +194,11 @@ for movement in portal_catalog(query = query):
title = transformation.getTitle(), title = transformation.getTitle(),
reference = "%s-%s" %(transformation.getTitle(), reference = "%s-%s" %(transformation.getTitle(),
delivery.getReference()), delivery.getReference()),
version = '001') version = '001',
destination_project = data_analysis.getDestinationProject())
try: try:
item.validate() item.validate()
item.updateLocalRolesOnSecurityGroups()
except AttributeError: except AttributeError:
pass pass
aggregate_set.add(item.getRelativeUrl()) aggregate_set.add(item.getRelativeUrl())
...@@ -230,5 +232,6 @@ for movement in portal_catalog(query = query): ...@@ -230,5 +232,6 @@ for movement in portal_catalog(query = query):
try: try:
data_analysis.start() data_analysis.start()
data_analysis.updateLocalRolesOnSecurityGroups()
except UnsupportedWorkflowMethod: except UnsupportedWorkflowMethod:
pass pass
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