mirror of
https://github.com/ansible/awx.git
synced 2026-02-15 02:00:01 -03:30
Return Queryset instead of Manager fix
This commit is contained in:
@@ -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()
|
||||
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user