Closed
Bug 1159175
Opened 10 years ago
Closed 10 years ago
Remove the ability to delete campaigns.
Categories
(Mozilla Reps Graveyard :: reps.mozilla.org, task)
Tracking
(Not tracked)
VERIFIED
FIXED
People
(Reporter: tasos, Assigned: nemo-yiannis)
Details
(Whiteboard: [kb=1733400] )
The events model contains a foreign key to campaigns (aka initiatives). When a campaign is deleted causes a cascade delete which also deletes the related event.
Instead of deleting the initiatives that are no longer needed, they should be marked as inactive. In order to avoid mistakes we should completely remove the ability to delete initiatives.
Reporter | ||
Updated•10 years ago
|
Whiteboard: [kb=1733400]
Assignee | ||
Comment 1•10 years ago
|
||
I suggest we make this more general and disable all base content deletes.
Comment 2•10 years ago
|
||
Commit pushed to master at https://github.com/mozilla/remo
https://github.com/mozilla/remo/commit/577f2bb957e53e23fb37aad74c37b602e3d5f38f
[Fix bug 1159175] Remove the ability to delete base content.
* Remove delete link and modal from /settings/ on all base content
* Remove BaseDeleteView and instances defined in content_urls
* Remove unused `get_object_delete_url` definitions
Updated•10 years ago
|
Status: ASSIGNED → RESOLVED
Closed: 10 years ago
Resolution: --- → FIXED
Updated•10 years ago
|
Version: unspecified → next
Reporter | ||
Comment 3•10 years ago
|
||
Verified on stage that the delete button is missing for functional areas, activities, initiatives and event metrics. Moreover if a user inputs manually the former delete url, 404 is produced.
Example url:
https://reps.allizom.org/content/activities/4/delete
Status: RESOLVED → VERIFIED
Reporter | ||
Updated•10 years ago
|
Version: next → 468
Updated•4 years ago
|
Product: Mozilla Reps → Mozilla Reps Graveyard
You need to log in
before you can comment on or make changes to this bug.
Description
•