mirror of
https://github.com/ansible/awx.git
synced 2026-01-12 10:30:03 -03:30
Return Queryset instead of Manager fix
This commit is contained in:
parent
44a8da83c2
commit
c18aa44ced
@ -3573,7 +3573,7 @@ class RoleChildrenList(SubListAPIView):
|
||||
# XXX: This should be the intersection between the roles of the user
|
||||
# and the roles that the requesting user has access to see
|
||||
role = Role.objects.get(pk=self.kwargs['pk'])
|
||||
return role.children
|
||||
return role.children.all()
|
||||
|
||||
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user