roryqi commented on code in PR #9785:
URL: https://github.com/apache/gravitino/pull/9785#discussion_r2798914108


##########
iceberg/iceberg-rest-server/src/test/java/org/apache/gravitino/iceberg/integration/test/IcebergRESTS3TokenAuthorizationIT.java:
##########
@@ -60,6 +69,61 @@ public void startIntegrationTest() throws Exception {
     catalogClientWithAllPrivilege.asSchemas().createSchema(SCHEMA_NAME, 
"test", new HashMap<>());
 
     setupCloudBundles();
+
+    // Grant normal user use_catalog privilege to access catalog
+    String roleName = "useCatalog_" + UUID.randomUUID();
+    metalakeClientWithAllPrivilege.createRole(

Review Comment:
   OK, I extract the method and move it base class.



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