This repository has been archived by the owner on Aug 3, 2022. It is now read-only.
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Script to remove user and make their entries anonymous
Script will find a user by provider id, find the all entries where they are a submitter or review, and change the submitterId or reviewerId to the site's anonymous user, then the user will be removed. `$ npm run anonymize_user -- <provider id>` The flag `-d` can be passed to perform a dry-run, where the user id, and relevant entry ids will be printed, but no changes made.
- Loading branch information