Log/archive deleted data #84
No reviewers
Labels
No Label
Priority
Critical
Priority
High
Priority
Low
Priority
Normal
Reviewed
Confirmed
Reviewed
Duplicate
Reviewed
Invalid
Reviewed
Won't Fix
Status
Abandoned
Status
Blocked
Status
Need More Info
Type
Breaking
Type
Documentation
Type
Enhancement
Type
Feature
Type
Report
Type
Security
Type
Suggestion
Type
Testing
No Milestone
No project
No Assignees
1 Participants
Notifications
Due Date
No due date set.
Dependencies
No dependencies set.
Reference: infrastructure/extensions-website#84
Loading…
Reference in New Issue
Block a user
No description provided.
Delete Branch "log-all-deletions"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
When an extension or a version is deleted, create a
LogEntry
for each record linked to that extension or version.Each
LogEntry
has action flagDELETION
and contains a blob with the last known field values of the records.These
LogEntry
can be viewed by admins in/admin/admin/logentry/
, same as any otherLogEntry
created by Django admin, so this should be sufficient for archival purposes.When an extension is deleted, log entries are created for all objects linked to that extension:
Screenshots:
Part of #82
WIP: Log/archive deleted datato Log/archive deleted data