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