Page MenuHomePhabricator

Moderate Mustermanns
Open, Needs TriagePublic5 Estimated Story Points

Description

When a donor doesn't want to enter their information they will very often enter the placeholder name. This means that when we send physical mail the letters are returned to sender and costs us money.

We should moderate them, and add a button that allows them to be set as anonymous before they are exported.

Acceptance Criteria

  • Donations with Mustermann, Musterstr etc are automatically marked as moderated by our code. (existing moderation reason: ~ BAD TERM)
  • A button is added in the back end that allows a donation to be changed to anonymous (e.g. "approve and turn into anonymous donation"/"als anonyme Spende annehmen")

Implementation Details

  • Look at the code that converts an anonym donation to a person one for the confirmation page.
  • Add mustermann, musterstr etc to the bad words list in the content repo
  • Extend the ModerateDonationUseCase (src/UseCases/ModerateDonation/ModerateDonationUseCase.php) to add a method approveAsAnonymous() that will change the donation type to AnonymousDonor, ensure the personal data is cleared, and mark it as approved.
  • Add an API route to the backend that calls the new method.
  • Add a button to moderated donations in the backend that will trigger a call to the new route.

Event Timeline

AbbanWMDE updated the task description. (Show Details)
AbbanWMDE updated the task description. (Show Details)
AbbanWMDE set the point value for this task to 8.Apr 9 2026, 12:31 PM
AbbanWMDE changed the point value for this task from 8 to 5.Tue, Apr 28, 9:11 AM