Bulk delete groups

Bug #1640212 reported by Domi Sinclair
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Mahara
Triaged
Wishlist
Unassigned

Bug Description

It would be nice if users could perform bulk actions on groups, for example bulk deleting them.

If you have created multiple groups and then wish to delete them all, for example if you are a class tutor and create multiple groups for your students but then want to delete them all after the class is finished, this is not currently possible. It is a one-by-one exercise which is very time consuming.

Robert Lyon (robertl-9)
Changed in mahara:
importance: Undecided → Wishlist
Revision history for this message
Robert Lyon (robertl-9) wrote :

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

Changed in mahara:
status: New → Triaged
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.