Ticket #1283 (closed enhancement: fixed)

Opened 3 years ago

Last modified 2 years ago

Deleted packages shouldn't be searchable or browsable

Reported by: dread Owned by: dread
Priority: major Milestone: ckan-backlog
Component: ckan Keywords:
Cc: Repository: ckan
Theme: none

Description (last modified by dread) (diff)

A package in deleted state doesn't show to general users, but admins DO see them. The idea is that they can resurrect them if they want. But now we have the trash can that lists deleted packages. So we don't want admins to see the deleted packages anywhere else.

(But an admin should still be able to READ and EDIT a deleted package, so if he clicks on it in the trash list he can see it to decide whether to resurrect and actually be able to change its state.)

Same in the Web interface and API.

This ticket ties in with #948 highlighting a package being deleted (when viewing or editing) and follows on from the introduction of the trash can #1076.

Change History

comment:1 Changed 3 years ago by dread

  • Description modified (diff)

comment:2 Changed 2 years ago by dread

  • Status changed from new to closed
  • Resolution set to fixed

Since we switched completely to SOLR, this has been true. SOLR doesn't index deleted packages so you can't search them, but they can be read/edited by admins.

comment:3 Changed 2 years ago by dread

This went into CKAN 1.6

Note: See TracTickets for help on using tickets.