In San Francisco, each of the city’s 10 district police stations has a uniformed police officer designated as a “permit officer” who handles complaints about hazards in buildings, whether they come from the public, another officer, a firefighter or anyone else.