mirror of
https://github.com/ZwareBear/awx.git
synced 2026-05-13 05:18:37 -05:00
Fixed post delete behavior for roles, added test
This commit is contained in:
+1
-1
@@ -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