But why is a US court telling Glassdoor to do something because of a New Zealand law?
It is mostly up to the judge's discretion, but case law establishes 4 discretionary factors to consider: 1) whether the request is from a potential lawsuit participant, 2) nature of the tribunal 3) whether discovery can be obtained by other means, and 4)whether compliance is burdensome.
And now we just have US judges deciding they should apply NZ law without applying the 1st Amendment?