No law enforcement officer, including any member of the Tennessee highway patrol, shall engage in political activity, support or opposition to any candidate, party or measure in any election when on duty or acting in the officer's or member's official capacity. When off duty and acting as a private citizen, no officer, including any member of the Tennessee highway patrol, shall be prohibited from engaging in political activity or denied the right to refrain from engaging in the activity.