The California Supreme Court ruled Thursday that public colleges and universities have a duty to protect their students from foreseeable acts of violence.