Ticket #1076 (new enhancement) — at Initial Version

Opened 3 years ago

Last modified 3 years ago

Improve revision and package purge system

Reported by: rgrp Owned by: johnlawrenceaspden
Priority: major Milestone: ckan-v1.4
Component: ckan Keywords:
Cc: Repository: ckan
Theme: none

Description

Purging Revisions

  • Delete button displayed on:
    • /revision/list
    • /package/history
    • /revision/{id}
  • Delete button submits to delete action on revision and changes revision state to 'deleted'.
    • undelete button now displayed and revisions are marked as deleted in some way (e.g. greyed out?)
  • Sysadmins then visit /ckan-admin/trash which lists all revisions with deleted state. There is a large button: "Empty trash" (irreversible). Click button purges all revisions with deleted state.

Purging Packages

  • Put into deleted state.
  • Listed on /ckan-admin/trash
  • Separate Empty trash button which deletes all associated revisions.
    • Should be separate from Empty trash for revisions

Current system

  • Single purge link on revision listing if a sysadmin which permanently purges the revision and all associated changes (without confirmation atm!)
Note: See TracTickets for help on using tickets.