tengqm commented on code in PR #6029:
URL: https://github.com/apache/gravitino/pull/6029#discussion_r1900075551
##########
bundles/aliyun/src/main/java/org/apache/gravitino/oss/credential/OSSTokenProvider.java:
##########
@@ -150,13 +151,13 @@ private String createPolicy(Set<String> readLocations,
Set<String> writeLocation
URI uri = URI.create(location);
allowGetObjectStatementBuilder.addResource(getOssUriWithArn(arnPrefix, uri));
String bucketArn = arnPrefix + getBucketName(uri);
- // ListBucket
+ // OSS use 'oss:ListObjects' to list objects in a bucket while
s3 use 's3:ListBucket'
Review Comment:
Thank you. This comment is very useful for other developers to know why the
action used is different.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]