Skip to content

Published Homebrew Deletion #581

@queryluke

Description

@queryluke

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)

Metadata

Metadata

Assignees

No one assigned

    Labels

    FeatureA new site feature

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions