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


##########
api/src/main/java/org/apache/gravitino/authorization/Privileges.java:
##########
@@ -863,7 +882,7 @@ public static ManageGrants deny() {
 
     @Override
     public boolean canBindTo(MetadataObject.Type type) {
-      return type == MetadataObject.Type.METALAKE;
+      return GRANT_SUPPORTED_TYPES.contains(type);

Review Comment:
   You prefer object level instead of privilege level?
   If so, maybe you can only have select privilege and grant option, you will 
can grant modify privilege.



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