Civil rights groups hail court ruling they say will allow te