France-ioi / AlgoreaBackend

Backend for the new Algorea platform
MIT License
1 stars 2 forks source link

Add "isEmpty" info to group member services #1026

Closed smadbe closed 6 months ago

smadbe commented 7 months ago

Motivations

When we list group members (groups), the user can select a few of these subgroups to remove the them from the group. If these subgroups are empty, we want to ask the user if he wants to delete these groups as well.

So we need to know if subgroups are empty.

Subtasks

In /groups/{group_id}/children: