Skip to content

Add an overwrite boolean when modifying repo content#7551

Open
daviddavis wants to merge 1 commit intopulp:mainfrom
daviddavis:safe-update
Open

Add an overwrite boolean when modifying repo content#7551
daviddavis wants to merge 1 commit intopulp:mainfrom
daviddavis:safe-update

Conversation

@daviddavis
Copy link
Copy Markdown
Contributor

Add a overwrite boolean parameter to endpoints which modify repository content. When set to false, the update checks whether any content being added would overwrite existing content (based on repo_key_fields) and returns a 409 Conflict response with details instead of silently replacing it.

fixes #7550

Add a `overwrite` boolean parameter to endpoints which modify repository
content. When set to false, the update checks whether any content being
added would overwrite existing content (based on repo_key_fields) and
returns a 409 Conflict response with details instead of silently
replacing it.

fixes pulp#7550
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Add a way to reject repo content updates if overwrites would occur

1 participant