Skip to content

Commit

Permalink
fix IAM policy action name for Get/PutBucketLifeCycle (#9893)
Browse files Browse the repository at this point in the history
  • Loading branch information
kannappanr committed Jun 23, 2020
1 parent 21058c3 commit b460b59
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions pkg/iam/policy/action.go
Original file line number Diff line number Diff line change
Expand Up @@ -78,10 +78,10 @@ const (
ListMultipartUploadPartsAction = "s3:ListMultipartUploadParts"

// PutBucketLifecycleAction - PutBucketLifecycle Rest API action.
PutBucketLifecycleAction = "s3:PutBucketLifecycle"
PutBucketLifecycleAction = "s3:PutLifecycleConfiguration"

// GetBucketLifecycleAction - GetBucketLifecycle Rest API action.
GetBucketLifecycleAction = "s3:GetBucketLifecycle"
GetBucketLifecycleAction = "s3:GetLifecycleConfiguration"

// PutBucketNotificationAction - PutObjectNotification Rest API action.
PutBucketNotificationAction = "s3:PutBucketNotification"
Expand Down

0 comments on commit b460b59

Please sign in to comment.