Yea, I’m not sure the UI bulk add likes thousands of users. I think you can do it by creating a new group then using rails console to add trust_level: 0 users to that group. If you decide to go this route, be sure to backup first.
Why? What problem is this solving? Are you planning to later remove some of them? Why not just use trust_level_0 or trust_level_1? It’s lkely that whatever you are trying to do, adding all users to a group is not a good way to solve the problem.
You can do it from rails. I think this would work.
User.all.each do |user|
GroupUser.create!(user_id: user.id, group_id: group.id)
I wrote a plugin that might help, though it’s not well tested and someone who tried it had trouble. If you’ve got a budget or are brave, you can contact me.
The maximum number of users that you can add at one time to a group’s Add Users form is 1000. Looking at the code, it seems that you should get an error message similar to this if you attempt to add more:
“Maximum 1000 users can be added at once.”
There has to be some kind of limit, otherwise Discourse risks throwing an unhandled error. To get around the limit, I like the Automation Plugin approach that Jay suggested.