City officers and employees may only participate in certain kinds of political activity. The Board of Ethics has developed guidance to describe what is allowed. For more information, view Board Regulation 8.
Elected officials are not bound by these regulations. More details can be found in the Philadelphia Home Rule Charter, 10-107(3).