Judge restricts Facebook access in discrimination case