Task #3033
Updated by jortel@redhat.com about 7 years ago
Add Publication API endpoint to support listing and deleting publications. The URL should be nested under the publisher. Publications are immutable but can be deleted when not referenced by a Distribution. This will be enforced by the integrity constraints. Use Cases: * As a user, I want to list publications created by a publisher to support: > * Knowing Inspect what publications have been created. got published. > * Manually update a Distribution. (manual promotion). * As a user, I want to delete publications: > * Specific publication(s). > * All publications not referenced by a Distribution. The Distribution FK to Publication is currently on_delete=SET_NULL but thinking we should probably change it to on_delete=PROTECT to ensure that an _active_ publication isn't ruined by mistake.