All levels (city, county, state, fed) of government employees have this authority as it's generally discretionary rather than ministerial. There are times where it can be illegal - very serious felonies - but not just because someone is a government worker itself.