deniskuzZ commented on code in PR #6086:
URL: https://github.com/apache/hive/pull/6086#discussion_r2378171486


##########
standalone-metastore/metastore-rest-catalog/src/main/java/org/apache/iceberg/rest/HMSCatalogFactory.java:
##########
@@ -100,7 +102,9 @@ private Catalog createCatalog() {
    */
   private HttpServlet createServlet(Catalog catalog) {
     String authType = MetastoreConf.getVar(configuration, 
ConfVars.CATALOG_SERVLET_AUTH);
-    ServletSecurity security = new 
ServletSecurity(AuthType.fromString(authType), configuration);
+    // Iceberg REST client uses "catalog" by default

Review Comment:
   do you think `catalog-read` and `catalog-write` scopes would be useful? This 
way we could restrict some of the clients from modifying the metadata? 



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


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to