mirror of
https://github.com/ansible/awx.git
synced 2026-09-03 02:18:28 -02:30
Fixed post delete behavior for roles, added test
This commit is contained in:
@@ -293,4 +293,4 @@ class ImplicitRoleField(models.ForeignKey):
|
||||
children = [c for c in this_role.children.all()]
|
||||
this_role.delete()
|
||||
for child in children:
|
||||
children.rebuild_role_ancestor_list()
|
||||
child.rebuild_role_ancestor_list()
|
||||
|
||||
Reference in New Issue
Block a user