Can police departments ban pot use?

Can police departments ban pot use?