This would be a good feature to have and logic wise should be easy enough to implement as it would involve a having a bunch of group ids and looping over them to call the group_delete() function.
The trick would be where to put the selecting of these groups one wants to delete and making sure the list only involves groups one is allowed to delete.
Maybe a new page similar to admin/users/bulkexport.php where one can list the groups by shortname and it will go off and delete the ones the user is allowed to delete.
Or we could make the admin/groups/groups.php page be like admin/users/search.php where one ticks a bunch of boxes and then does a bulk option on the selected items.
Or maybe, because any user can be an admin if a group we need to have the functionality outside the admin/ section, maybe on the group/mygroups.php?filter=admin where we show all the groups administrated by us. We could have checkboxes and delete button when we filter by 'Groups I own'
It all depends on who we allow to have this functionality, admins only, admins and tutors, or anyone
I'll will think about this some more but if you have a preference of which place would be best let me know
Hi Domi,
This would be a good feature to have and logic wise should be easy enough to implement as it would involve a having a bunch of group ids and looping over them to call the group_delete() function.
The trick would be where to put the selecting of these groups one wants to delete and making sure the list only involves groups one is allowed to delete.
Maybe a new page similar to admin/users/ bulkexport. php where one can list the groups by shortname and it will go off and delete the ones the user is allowed to delete.
Or we could make the admin/groups/ groups. php page be like admin/users/ search. php where one ticks a bunch of boxes and then does a bulk option on the selected items.
Or maybe, because any user can be an admin if a group we need to have the functionality outside the admin/ section, maybe on the group/mygroups. php?filter= admin where we show all the groups administrated by us. We could have checkboxes and delete button when we filter by 'Groups I own'
It all depends on who we allow to have this functionality, admins only, admins and tutors, or anyone
I'll will think about this some more but if you have a preference of which place would be best let me know
Cheers
Robert