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


##########
server/src/main/java/org/apache/gravitino/server/web/rest/TableOperations.java:
##########
@@ -99,10 +115,18 @@ public Response listTables(
   @Produces("application/vnd.gravitino.v1+json")
   @Timed(name = "create-table." + MetricNames.HTTP_PROCESS_DURATION, absolute 
= true)
   @ResponseMetered(name = "create-table", absolute = true)
+  @AuthorizationExpression(
+      expression =
+          "METALAKE::CREATE_TABLE || CATALOG::CREATE_TABLE || "
+              + "SCHEMA::CREATE_TABLE || METALAKE::OWNER || "

Review Comment:
   seems TABLE:OWNER has the privilage to create table, does 
`METALAKE&CATALOG&SCHEMA` owner has the create table privilege too? @jerqi 
@xunliu 



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