theodp writes: While the rise and fall of Brendan Eich at Mozilla sparked a debate over how to properly strike a balance between an employee's political free speech and his employer's desire to communicate a particular corporate 'culture,' notes Brian Van Vleck at the California Workforce Resource Blog, the California Labor Code has already resolved this debate. "Under California law," Van Vleck explains, "it is blatantly illegal to fire an employee because he has donated money to a political campaign. This rule is clearly set forth in Labor Code sections 1101-1102". Section 1102 begins, "No employer shall coerce or influence or attempt to coerce or influence his employees through or by means of threat of discharge or loss of employment to adopt or follow or refrain from adopting or following any particular course or line of political action or political activity." Corporate Counsel's Marlisse Silver Sweeney adds, "Mozilla is adamant that the board did not force Eich to resign, and asked him to stay on in another role. It also says that although some employees tweeted for his resignation, support for his leadership was expressed by a larger group of employees. And this is all a good thing for the company from a legal standpoint." As Eich stepped down, Re/code reported that Mozilla Executive Chairwoman Mitchell Baker said Eich's ability to lead the company had been badly damaged by the continued scrutiny over the hot-button issue. "It's clear that Brendan cannot lead Mozilla in this setting," Baker was quoted as saying. "I think there has been pressure from all sides, of course, but this is Brendan's decision. Given the circumstances, this is not surprising." Van Vleck offers these closing words of advice, "To the extent employers want to follow in Mozilla's footsteps by policing their employees' politics in the interests of 'culture,' 'inclusiveness,' or corporate branding, they should be aware that their efforts will violate California law."