fecgov / fecfile-web-api

Back-end API for FECfile application
Other
8 stars 2 forks source link

Expand delete_committee_reports command to allow for mass-deleting contacts #1051

Open exalate-issue-sync[bot] opened 2 months ago

exalate-issue-sync[bot] commented 2 months ago

Our delete_committee_reports django management command deletes all reports and their attached transactions but not their contacts. We should add an optional flag that ensures that contacts are also deleted.

create environment variable (feature flag) ENABLE_DEVELOPER_ACCOUNT_COMMANDS to enable these sorts of commands that manipulate user data. By default it will be disabled. Dev and Stage will have this feature enabled.

QA Notes

Unit tests should pass

DEV Notes

null

Design

null

See full ticket and images here: FECFILE-1558

exalate-issue-sync[bot] commented 2 months ago

akhorsand commented: [~accountid:712020:eaccd25d-427c-4e4d-a650-909ec0b31071] [~accountid:712020:2a1493e5-adee-45bd-b27e-868a5c8d3f62] this ticket has points - is there a follow-up needed before it can move to ASA?

exalate-issue-sync[bot] commented 2 months ago

Todd Lees commented: nope moving to asa

exalate-issue-sync[bot] commented 1 week ago

Todd Lees commented: Moving to sprint backlog. should be on hold until FECFILE-1606 is resolved