inject WF node prompts into new jobs, new workflow RBAC tests

This commit is contained in:
AlanCoding
2016-09-21 16:04:43 -04:00
parent 2ffa7a91ec
commit 9acd50b8f3
10 changed files with 279 additions and 113 deletions

View File

@@ -2631,10 +2631,6 @@ class WorkflowJobTemplateNodeList(ListCreateAPIView):
serializer_class = WorkflowJobTemplateNodeListSerializer
new_in_310 = True
def update_raw_data(self, data):
for fd in ['job_type', 'job_tags', 'skip_tags', 'limit', 'skip_tags']:
data[fd] = None
return super(WorkflowJobTemplateNodeList, self).update_raw_data(data)
class WorkflowJobTemplateNodeDetail(RetrieveUpdateDestroyAPIView):