Make all BuddyPress groups public?

Hello and thanks in advance for any help!

I would like to know if there's a way to make all BuddyPress groups public? I do not want the users of my site to have the option to make private or hidden groups.

The first idea that crossed my mind was to go into the code and assign a permanent value to the "public" option, and then go into the code of the group creating process and remove the step which allows the user to pick from the three different options. So, automatically, all groups will be assigned as public and the option can't be changed.

But of course, if there's a way to get this done without so much core hacking, I'd much rather do it that way.

Thanks!