tengqm commented on code in PR #6029:
URL: https://github.com/apache/gravitino/pull/6029#discussion_r1900076440


##########
bundles/aliyun/src/main/java/org/apache/gravitino/oss/credential/OSSTokenProvider.java:
##########
@@ -166,6 +167,8 @@ private String createPolicy(Set<String> readLocations, 
Set<String> writeLocation
                       Statement.builder()
                           .effect(Effect.ALLOW)
                           .addAction("oss:GetBucketLocation")
+                          // OSS Hadoop connector need to get bucket 
information

Review Comment:
   I didn't mean this line. I meant the line 163.
   Other developers (including me) would like to know that the 
`GetBucketLocation` action is not sufficient. In other words, this is 
two-actions in a row is by design, not a careless mistake.



-- 
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]

Reply via email to