Project

General

Profile

Actions

Bug #56554

open

rgw::IAM::s3GetObjectTorrent never take effect

Added by Jinghua Zeng almost 2 years ago. Updated almost 2 years ago.

Status:
New
Priority:
Normal
Assignee:
-
Category:
rest-api
Target version:
% Done:

0%

Source:
Tags:
Backport:
Regression:
No
Severity:
3 - minor
Reviewed:
Affected Versions:
ceph-qa-suite:
Pull request ID:
Crash signature (v1):
Crash signature (v2):

Description

torrent.get_flag() in RGWGetObj::verify_permission() is false forever, because is_torrent become true in RGWGetObj::execute()->get_params()->torrent.get_params()


Files

t2.png (31.5 KB) t2.png Jinghua Zeng, 07/14/2022 07:46 AM
t1.png (20.6 KB) t1.png Jinghua Zeng, 07/14/2022 07:46 AM
t3.png (18.7 KB) t3.png Jinghua Zeng, 07/14/2022 07:46 AM
t4.png (13.2 KB) t4.png Jinghua Zeng, 07/14/2022 07:46 AM
Actions #1

Updated by Jinghua Zeng almost 2 years ago

Bucket Policy:

{
"Id": "S3-Account-Permissions7d6a17dc-e8ab-4ceb-931e-d5d2609b2672",
"Statement": [ {
"Action": [
"s3:GetObjectTorrent"
],
"Effect": "Allow",
"Principal": {
"AWS": [
"arn:aws:iam:::user/piglet2"
]
},
"Resource": [
"arn:aws:s3:::hotspot/mul.txt"
],
"Sid": "576e6771-3fea-43db-a574-a03ba6448aa7_no_json_object"
}
]
}

Actions

Also available in: Atom PDF