Project

Profile

Help

Issue #3445

closed

Remove the ability for users to delete a single content unit.

Added by daviddavis about 6 years ago. Updated over 4 years ago.

Status:
CLOSED - CURRENTRELEASE
Priority:
Normal
Assignee:
Category:
-
Sprint/Milestone:
Start date:
Due date:
Estimated time:
Severity:
3. High
Version:
Platform Release:
OS:
Triaged:
Yes
Groomed:
No
Sprint Candidate:
No
Tags:
Sprint:
Sprint 35
Quarter:

Description

When we sync for example we have the following workflow:

1. Download artifact(s) and save them
2. Create content unit
3. Add artifact(s) to my content unit
4. Add the content unit to my base_version

While each step is atomic, the entire workflow is not. Therefore, a user could delete a content unit anytime after step 2. This creates a problem for syncing and other tasks that use content units.

For the MVP, we should instead just remove this functionality and require users to use orphan cleanup instead:

https://pulp.plan.io/issues/3442


Related issues

Related to Pulp - Story #3442: As a user, I can clean up both orphaned content units and orphaned artifactsCLOSED - CURRENTRELEASEdaviddavis

Actions
Related to Pulp - Test #4216: test_crud_content_unit should test that content units cannot be deleted manuallyCLOSED - COMPLETEdalleyActions

Also available in: Atom PDF