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

Reedy created this task.Jul 26 2018, 12:29 AM
Restricted Application added a subscriber: Aklapper. · View Herald TranscriptJul 26 2018, 12:29 AM

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.

Reedy added a comment.Jul 26 2018, 2:21 AM

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