Skip to content

(feat): Added logic to prevent delete of posts for supermind reply and in-flight offer minds#3412

Fausto Arcidiacono requested to merge feat/no-supermind-reply-delete-3412 into master

Ticket(s) / Related Merge Requests

minds#3412 (closed) minds#3411 (closed)

Summary of Changes

Added logic to DELETE activity endpoint to prevent the activity from being deleted if:

  1. the activity is a reply to a Supermind offer
  2. the activity is part of the Supermind offer and the offer is still in-flight (Pending state, neither expired nor accepted)

Testing Considerations

Deployment Considerations

Regression Scope

Delete action for posts that are not related to a Supermind offer in any way, neither originating offer activity post nor offer reply

Platform Affected (web, mobile, etc)

Front and engine

Developer Testing Completed

Screenshots / Screen Recording

Does this impact

  • Localization
  • Dark/light mode
  • Guest mode

Definition of Done Checklist

  • The Acceptance Criteria has been met
  • Code is tested: Testing includes unit/spec, E2E/automated and manual testing
  • Merge requests description has been filled out

Merge request reports