amy icon indicating copy to clipboard operation
amy copied to clipboard

Allow admin user to delete rolled over membership

Open maneesha opened this issue 3 years ago • 3 comments

If membership A gets rolled over to membership B, and it's later found out that was in error, it is currently not possible to delete the new membership because the new membership is referenced by the source membership. We should be able to delete the new membership.

maneesha avatar Nov 19 '21 11:11 maneesha

  1. Changes needed in MembershipDelete (amy/fiscal/views.py)
  2. Membership should be unlinked from "parent" (through Membership.rolled_from_membership) before it is deleted. This all should be within single transaction so that if anything else fails, then the link is restored.

pbanaszkiewicz avatar Nov 28 '21 13:11 pbanaszkiewicz

@pbanaszkiewicz @elichad is there any other information you need to implement this feature?

maneesha avatar Apr 18 '23 11:04 maneesha

@maneesha no, you can add it to the milestone backlog.

pbanaszkiewicz avatar Apr 19 '23 21:04 pbanaszkiewicz