jerryshao commented on code in PR #9384:
URL: https://github.com/apache/gravitino/pull/9384#discussion_r2592275607


##########
api/src/main/java/org/apache/gravitino/authorization/Privileges.java:
##########
@@ -127,10 +127,13 @@ public static Privilege allow(Privilege.Name name) {
         return ManageGrants.allow();
 
         //  Model
+      case REGISTER_MODEL:
       case CREATE_MODEL:
-        return CreateModel.allow();
+        return RegisterModel.allow();
+      case LINK_MODEL_VERSION:
+        return LinkModelVersion.allow();
       case CREATE_MODEL_VERSION:
-        return CreateModelVersion.allow();
+        return LinkModelVersion.allow();

Review Comment:
   Why don't you also do the same change here?



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