Henry Markram the editor of Frontiers – the journal that retracted Lewandowsky’s Fury paper – has made the following statement (emphasis added):
Like all other journals, Frontiers seriously investigates any well-founded complaints or allegations, and retraction only happens in cases of absolute necessity and only after extensive analysis. For the paper in question, the issue was clear, the analysis was exhaustive, all efforts were made to work with the authors to find a solution and we even worked on the retraction statement with the authors. But there was no moral dilemma from the start – we do not support scientific publications where human subjects can be identified without their consent.
But of course the issue isn’t just that human subjects were identified without their prior consent; those human subjects were “diagnosed” as having mental health issues, and then identified without their consent. Not just a violation of research ethics but of professional ethics too.