Skip to content

Commit

Permalink
Fix: Policy action name for Get/Put BucketLifeCycle (minio#8698)
Browse files Browse the repository at this point in the history
S3:GetBucketLifeCycle should be changed to S3:GetLifeCycleConfiguration
S3:PutBucketLifeCycle should be changed to S3:PutLifeCycleConfiguration
  • Loading branch information
kannappanr authored Dec 26, 2019
1 parent d4a3900 commit cd59a94
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions pkg/policy/action.go
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down

0 comments on commit cd59a94

Please sign in to comment.