Page MenuHomePhabricator

Create a maintenance script to remove all users from a user group
Closed, DuplicatePublic

Description

Although we have migrateUserGroup.php to "rename" a user group, we have no maintenance script to just remove all users from a group/list of groups

Would be useful in remove extensions or doing other general cleanup before uninstalling an extension

Ping T188780

Event Timeline

Is there a maintenance script to add a bunch of users to a user group? It seems like that could potentially be a feature within this script and might be a more common case.

Is there a maintenance script to add a bunch of users to a user group? It seems like that could potentially be a feature within this script and might be a more common case.

createAndPromote.php can do that