The discussion revolves around the need for batch operations on multiple users in Discourse, particularly for managing spam or migrating users. dandv requests checkbox-based batch actions, such as deletion, similar to topics, to handle spam users from specific domains post-import. codinghorror suggests filtering such users during import instead. dandv agrees but highlights broader use cases, like adjusting trust levels for users with high post counts post-migration. dandv seeks guidance on contributing a PR, noting JS experience but no Ruby knowledge. erlend_sh proposes using the Rails console, and riking provides a Ruby script for bulk user deletion. Moin notes that checkbox-based bulk deletion was already implemented in a recent PR.
Generally you do this as part of the import – screening out topics and users you don’t want to arrive – not after the fact.
Most forums are chock full of shell / spam / bogus accounts that should be trimmed before they come in. Which is not too hard since they generally have no posts, either.
Agree, for this particular use case. In general, I think batch operations on users would be useful.
Use case: sort users descending by number of posts created, select those above a threshold, and bump their trust level - part of onboarding after a migration.