fix IAM policy action name for Get/PutBucketLifeCycle (#9893)

master
kannappanr 4 years ago committed by GitHub
parent 21058c34d0
commit b460b5967f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 4
      pkg/iam/policy/action.go

@ -78,10 +78,10 @@ const (
ListMultipartUploadPartsAction = "s3:ListMultipartUploadParts" ListMultipartUploadPartsAction = "s3:ListMultipartUploadParts"
// PutBucketLifecycleAction - PutBucketLifecycle Rest API action. // PutBucketLifecycleAction - PutBucketLifecycle Rest API action.
PutBucketLifecycleAction = "s3:PutBucketLifecycle" PutBucketLifecycleAction = "s3:PutLifecycleConfiguration"
// GetBucketLifecycleAction - GetBucketLifecycle Rest API action. // GetBucketLifecycleAction - GetBucketLifecycle Rest API action.
GetBucketLifecycleAction = "s3:GetBucketLifecycle" GetBucketLifecycleAction = "s3:GetLifecycleConfiguration"
// PutBucketNotificationAction - PutObjectNotification Rest API action. // PutBucketNotificationAction - PutObjectNotification Rest API action.
PutBucketNotificationAction = "s3:PutBucketNotification" PutBucketNotificationAction = "s3:PutBucketNotification"

Loading…
Cancel
Save