Update traversal_ids on parent change without save

What does this MR do and why?

When trying to remove the use_traversal_ids_for_root_ancestor feature flag it was found that root_ancestor needed to update when a group parent was changed, but not saved.

This MR will return the correct root_ancestor when the group object's parent is changed and not saved.

MR acceptance checklist

This checklist encourages us to confirm any changes have been analyzed to reduce risks in quality, performance, reliability, security, and maintainability.

Merge request reports

Loading