Except as otherwise provided in this chapter, or as necessary to meet requirements of federal law as it pertains to a particular employee or employees, no restriction shall be placed on the political activities of any officer or employee of a state or local agency.