mirror of
https://github.com/minio/minio.git
synced 2025-11-06 20:33:07 -05:00
fix: Avoid force delete in compliance/worm mode (#9276)
also, bring in an additional policy to ensure that force delete bucket is only allowed with the right policy for the user, just DeleteBucketAction policy action is not enough.
This commit is contained in:
@@ -106,4 +106,7 @@ const (
|
||||
|
||||
// Server-Status
|
||||
MinIOServerStatus = "x-minio-server-status"
|
||||
|
||||
// Delete special flag
|
||||
MinIOForceDelete = "x-minio-force-delete"
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user