Describe the bug
You can delete objects from versioned collections which should be kind of immutable without increasing the collection version.
To Reproduce
Steps to reproduce the behavior:
- Create a versioned collection which includes at least one object.
- Delete object with a
DeleteObjectRequest from the collection
- Get object with a
GetObjectByIdRequest and check object status which is TRASH
Expected behavior
The deletion of objects from a versioned collection should either be prohibited completely or automatically update the collection to an increased version which does not contain the deleted object.
Describe the bug
You can delete objects from versioned collections which should be kind of immutable without increasing the collection version.
To Reproduce
Steps to reproduce the behavior:
DeleteObjectRequestfrom the collectionGetObjectByIdRequestand check object status which isTRASHExpected behavior
The deletion of objects from a versioned collection should either be prohibited completely or automatically update the collection to an increased version which does not contain the deleted object.