Ticket #1053 (closed defect: fixed)
Deletion in Model API
Reported by: | dread | Owned by: | dread |
---|---|---|---|
Priority: | awaiting triage | Milestone: | ckan-v1.5 |
Component: | ckan | Keywords: | |
Cc: | Repository: | ckan | |
Theme: | none |
Description
Currently in the API if you DELETE a package/group/user (and you have the required permissions) then it purges the object, when it should probably just set the state to deleted.
There is no way to delete objects at the moment - changes to 'state' are ignored in the API.
Do we need an alternative way to purge objects in the API?
Change History
comment:2 Changed 3 years ago by dread
- Owner set to dread
- Status changed from new to assigned
- Milestone changed from ckan-v1.4-sprint-5 to ckan-v1.4-sprint-6
comment:3 Changed 3 years ago by dread
- Milestone changed from ckan-v1.4-sprint-6 to ckan-v1.4-sprint-7
comment:4 Changed 3 years ago by dread
- state set to draft
- Milestone changed from ckan-v1.4-sprint-7 to ckan-v1.5
Note: See
TracTickets for help on using
tickets.