Restricting users to join any one private group

You’ll need a plugin to do that.