# Ancestors sorted by hierarchy depth in bottom-top order.
defsorted_ancestors(group)
ifgroup.root_ancestor.use_traversal_ids?
group.ancestors(hierarchy_order: :asc)
else
group.ancestors
end
end
defdefault_help
s_("GroupSettings|This setting will be applied to all subgroups unless overridden by a group owner. Groups that already have access to the project will continue to have access unless removed manually.")