The current Group Mapping UI allows reusing NextCloud groups. I think this is probably undesirable? Once a group is chosen it should be removed from the options so it can't accidentally be reused.
If you intentionally want subgroups, you should set it up on the source identity server to keep things consistent.
This probably requires redesigning the UI of Add Group Mapping component to use a different kind of widget.
The current Group Mapping UI allows reusing NextCloud groups. I think this is probably undesirable? Once a group is chosen it should be removed from the options so it can't accidentally be reused.
If you intentionally want subgroups, you should set it up on the source identity server to keep things consistent.
This probably requires redesigning the UI of Add Group Mapping component to use a different kind of widget.