Skip to content

Commit

Permalink
Merge pull request ansible#1654 from AlanCoding/pluralize_again
Browse files Browse the repository at this point in the history
Update access check to plural creds
  • Loading branch information
AlanCoding authored May 2, 2018
2 parents e24eef1 + 652f837 commit 65b342a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion awx/main/access.py
Original file line number Diff line number Diff line change
Expand Up @@ -1924,7 +1924,7 @@ def can_start(self, obj, validate_license=True):
return self.can_recreate(obj)

def can_recreate(self, obj):
node_qs = obj.workflow_job_nodes.all().prefetch_related('inventory', 'credential', 'unified_job_template')
node_qs = obj.workflow_job_nodes.all().prefetch_related('inventory', 'credentials', 'unified_job_template')
node_access = WorkflowJobNodeAccess(user=self.user)
wj_add_perm = True
for node in node_qs:
Expand Down

0 comments on commit 65b342a

Please sign in to comment.