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


##########
bundles/aliyun/src/main/java/org/apache/gravitino/oss/credential/OSSTokenProvider.java:
##########
@@ -166,6 +168,7 @@ private String createPolicy(Set<String> readLocations, 
Set<String> writeLocation
                       Statement.builder()
                           .effect(Effect.ALLOW)
                           .addAction("oss:GetBucketLocation")
+                          .addAction("oss:GetBucketInfo")

Review Comment:
   it's ok to do so, I prefer not adding extra comments because this pattern is 
used several time in the class, it's self explained. I add extra comment for 
why adding the action.



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