mirror of
https://github.com/minio/minio
synced 2026-08-29 14:36:37 -04:00
Fix: Policy action name for Get/Put BucketLifeCycle (#8698)
S3:GetBucketLifeCycle should be changed to S3:GetLifeCycleConfiguration S3:PutBucketLifeCycle should be changed to S3:PutLifeCycleConfiguration
This commit is contained in:
parent
d4a390028a
commit
cd59a945d8
1 changed files with 2 additions and 2 deletions
|
|
@ -85,10 +85,10 @@ const (
|
|||
PutObjectAction = "s3:PutObject"
|
||||
|
||||
// PutBucketLifecycleAction - PutBucketLifecycle Rest API action.
|
||||
PutBucketLifecycleAction = "s3:PutBucketLifecycle"
|
||||
PutBucketLifecycleAction = "s3:PutLifecycleConfiguration"
|
||||
|
||||
// GetBucketLifecycleAction - GetBucketLifecycle Rest API action.
|
||||
GetBucketLifecycleAction = "s3:GetBucketLifecycle"
|
||||
GetBucketLifecycleAction = "s3:GetLifecycleConfiguration"
|
||||
|
||||
// BypassGovernanceModeAction - bypass governance mode for DeleteObject Rest API action.
|
||||
BypassGovernanceModeAction = "s3:BypassGovernanceMode"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue