Teamleitung, Personal, allg. Organisation, Kommunalverfassungsrecht