|
|
@ -471,7 +471,7 @@ func (web *webAPIHandlers) ListObjects(r *http.Request, args *ListObjectsArgs, r |
|
|
|
AccountName: claims.Subject, |
|
|
|
AccountName: claims.Subject, |
|
|
|
Action: iampolicy.ListBucketAction, |
|
|
|
Action: iampolicy.ListBucketAction, |
|
|
|
BucketName: args.BucketName, |
|
|
|
BucketName: args.BucketName, |
|
|
|
ConditionValues: getConditionValues(r, "", ""), |
|
|
|
ConditionValues: getConditionValues(r, "", claims.Subject), |
|
|
|
IsOwner: owner, |
|
|
|
IsOwner: owner, |
|
|
|
}) |
|
|
|
}) |
|
|
|
|
|
|
|
|
|
|
@ -479,7 +479,7 @@ func (web *webAPIHandlers) ListObjects(r *http.Request, args *ListObjectsArgs, r |
|
|
|
AccountName: claims.Subject, |
|
|
|
AccountName: claims.Subject, |
|
|
|
Action: iampolicy.PutObjectAction, |
|
|
|
Action: iampolicy.PutObjectAction, |
|
|
|
BucketName: args.BucketName, |
|
|
|
BucketName: args.BucketName, |
|
|
|
ConditionValues: getConditionValues(r, "", ""), |
|
|
|
ConditionValues: getConditionValues(r, "", claims.Subject), |
|
|
|
IsOwner: owner, |
|
|
|
IsOwner: owner, |
|
|
|
ObjectName: args.Prefix + "/", |
|
|
|
ObjectName: args.Prefix + "/", |
|
|
|
}) |
|
|
|
}) |
|
|
|