Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Published Homebrew Deletion #581

Open
queryluke opened this issue Oct 30, 2022 · 0 comments
Open

Published Homebrew Deletion #581

queryluke opened this issue Oct 30, 2022 · 0 comments
Labels
Feature A new site feature
Milestone

Comments

@queryluke
Copy link
Owner

When a homebrew is published and someone wants to delete it, perform the following actions in a custom lambda graphql resolver

  1. Duplicate the homebrew under and anonymous account (prerequisite, create a placeholder anon account)
  2. Set the duplicate's status to Private
  3. Take the duplicate ID and swap it out in any HomebrewUse data (so those who are using it still have access)
  4. Remove the original (and any HomebrewVote and HomebrewUse with the original id)
@queryluke queryluke added the Feature A new site feature label Oct 30, 2022
@queryluke queryluke added this to the Homebrew milestone Oct 30, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Feature A new site feature
Projects
None yet
Development

No branches or pull requests

1 participant