At the Constitutional level, you cannot infringe. You just can’t. It’s not allowed. No one has the power to diminish this fundamental right.
Unless, of course, congress decided to make a new law. Then it’s OK. Happens all the time.
But that issue was not before the Court. If the court can resolve an issue on legislative grounds, it will do so without getting to any underlying constitutional question. The constitutionality of a bumpstock ban can only be addressed if the Congress or a state legislature should enact such a ban.