Except as otherwise provided in this article, 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 local agency.