How to add all members in a new group?

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.

group=Group.find_by_name('my_group')
User.all.each do |user|
  GroupUser.create!(user_id: user.id, group_id: group.id)
end

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.