Skip to content

Commit

Permalink
FT: putObjectTagging
Browse files Browse the repository at this point in the history
  • Loading branch information
nicolas2bert committed May 1, 2017
1 parent 3fd4f64 commit 1551698
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 0 deletions.
4 changes: 4 additions & 0 deletions errors/arsenalErrors.json
Original file line number Diff line number Diff line change
Expand Up @@ -152,6 +152,10 @@
"code": 400,
"description": "The storage class you specified is not valid."
},
"InvalidTag": {
"code": 400,
"description": "The Tag you have provided is invalid"
},
"InvalidTargetBucketForLogging": {
"code": 400,
"description": "The target bucket for logging does not exist, is not owned by you, or does not have the appropriate grants for the log-delivery group."
Expand Down
1 change: 1 addition & 0 deletions index.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,7 @@ declare module "arsenal" {
'InvalidSecurity'?: boolean;
'InvalidSOAPRequest'?: boolean;
'InvalidStorageClass'?: boolean;
'InvalidTag'?: boolean;
'InvalidTargetBucketForLogging'?: boolean;
'InvalidToken'?: boolean;
'InvalidURI'?: boolean;
Expand Down
1 change: 1 addition & 0 deletions lib/auth/v2/getCanonicalizedResource.js
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,7 @@ function getCanonicalizedResource(request) {
'partNumber',
'policy',
'requestPayment',
'tagging',
'torrent',
'uploadId',
'uploads',
Expand Down
2 changes: 2 additions & 0 deletions lib/policyEvaluator/RequestContext.js
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,8 @@ const _actionMap = {
objectPutACL: 's3:PutObjectAcl',
objectPutACLVersion: 's3:PutObjectVersionAcl',
objectPutPart: 's3:PutObject',
objectPutTagging: 's3:PutObjectTagging',
objectPutTaggingVersion: 's3:PutObjectVersionTagging',
serviceGet: 's3:ListAllMyBuckets',
};

Expand Down

0 comments on commit 1551698

Please sign in to comment.