Open evgeniiz321 opened 2 weeks ago
@roman-khimov shouldn't it be 2 different actions to enable ACLs for objects and buckets? Right now this command:
s3_bucket.put_bucket_policy(
self.s3_client,
bucket,
{
"Statement": [
{
"Sid": "BucketEnableACL",
"Effect": "Allow",
"Action": ["s3:PutObject"],
"Resource": ["*"],
}
],
},
)
Enables ACLs both for objects and buckets, another thing - only this Action is accepted - "Action": ["s3:PutObject"],
, all other cause 500 from s3 gw.
I think it's better to be verified against Amazon. But I've also found https://github.com/nspcc-dev/neofs-s3-gw/issues/1023 and https://github.com/nspcc-dev/neofs-s3-gw/issues/1022.
closes #885