If I have a list of people who want to spend $500 to join my weekly poker night club, it’s my Constitutional right to choose whom to let in, assuming I’m not discriminating in a way that has 14th Amendment problems.
This is, of course, why all boy's schools and all girl's schools can still exist, too. If HBCUs wanted to formally ban white people, I'm sure they'd face some backlash, but I think it would be legal to do that. All-male priesthoods are still normal and common. The Church of Jesus Christ, Latter Day Saints had an all-white priesthood up until 1978 and that was legal, just another case of responding to public pressure.
The Supreme Court decision to ban race-conscious admissions in higher education is based on the 14th Amendment. This law by California is made in light of that decision.
A major contention seems to be if states should have the right to modify or add the list of protected classes that is included for the 14th amendment.
Found the text: https://leginfo.legislature.ca.gov/faces/billCompareClient.x...