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


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

Review Comment:
   Fixed.



##########
api/src/main/java/org/apache/gravitino/authorization/Privileges.java:
##########
@@ -840,27 +848,27 @@ public boolean canBindTo(MetadataObject.Type type) {
   }
 
   /** The privilege to create a model */

Review Comment:
   Fixed.



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