Civil rights groups warned that Friday's ruling by the U.S.