How to break abstract groups for better corp management

Hi Everyone! Trying to setup for an org and was hoping to copy our org structure as groups/subgroups.



Corp being our parent group with Eng and SOC being subgroups. Eng and SOC should not be able to see each others repos, but if we add users to the corp parent group its passes permissions and inherits down to the subgroups, and if we just add the users directly to their subgroups, then if they click the Corp parent in their “groups” it gives a 404, and does not just show the groups they have permissions to.

How can we manage this?