Reapply policies if container already created during bucket creation #500
Labels
No labels
P0
P1
P2
P3
good first issue
Infrastructure
blocked
bug
config
discussion
documentation
duplicate
enhancement
go
help wanted
internal
invalid
kludge
observability
perfomance
question
refactoring
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference: TrueCloudLab/frostfs-s3-gw#500
Loading…
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
After #434 gateway tries to delete container if policies cannot be applied.
Session token stored in access box might not contain rights for container delete operation. In this case, container will remain in the system.
Gateway may process this case as well by trying to reapply policies. We need to investigate, is it possible to distinguish partially applied policy and changed policy in runtime.
Partially applied policy should be reapplied and return successful response.
Changed in runtime policy should not be modified, gateway should return "BucketAlreadyOwnedByYou" error.