hdygxsj commented on code in PR #7736:
URL: https://github.com/apache/gravitino/pull/7736#discussion_r2219186379
##########
server/src/main/java/org/apache/gravitino/server/web/rest/PermissionOperations.java:
##########
@@ -216,8 +229,10 @@ public Response grantPrivilegeToRole(
@Produces("application/vnd.gravitino.v1+json")
@Timed(name = "revoke-privilege-from-role." +
MetricNames.HTTP_PROCESS_DURATION, absolute = true)
@ResponseMetered(name = "revoke-privilege-from-role", absolute = true)
+ @AuthorizationExpression(expression = "METALAKE::OWNER ||
METALAKE::MANAGE_GRANTS")
Review Comment:
Does this mean that the Owner of the Schema can also manage permissions for
all tables in the same schema?
--
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]