Sierra Club and allies won a federal court victory restoring key protections under the Endangered Species Act in San Francisco.