Of course the punishment for violating this is a fine of no more than $5k, per http://leginfo.legislature.ca.gov/faces/codes_displaySection....
That said, it _may_ open the door for a civil lawsuit per http://leginfo.legislature.ca.gov/faces/codes_displaySection....
Whether any of that applies in this situation is entirely unclear to me, because it hinges on the definitions of "engaging or participating in politics" and so forth. You'd probably need to talk to a competent labor lawyer in California for anything resembling clarity here.
I think this comes down to is affirmative action policy a workplace condition. Discussion about workplace conditions is separate from discrimination law entirely so 'protected class' becomes a red herring here. I'm not sure this is the best article but I tried to find something from a left leaning source I find reasonably fair given that this seems to be an anti-right topic.