WFJ node-node relationships should work correctly now

This commit is contained in:
AlanCoding
2016-10-17 15:08:06 -04:00
parent 330d3d3f6c
commit f3cbf71457

View File

@@ -2675,13 +2675,9 @@ class WorkflowJobNodeChildrenBaseList(SubListAPIView):
model = WorkflowJobNode model = WorkflowJobNode
serializer_class = WorkflowJobNodeListSerializer serializer_class = WorkflowJobNodeListSerializer
always_allow_superuser = True # TODO: RBAC parent_model = WorkflowJobNode
parent_model = Job
relationship = '' relationship = ''
'''
enforce_parent_relationship = 'workflow_job_template'
new_in_310 = True new_in_310 = True
'''
# #
#Limit the set of WorkflowJobeNodes to the related nodes of specified by #Limit the set of WorkflowJobeNodes to the related nodes of specified by