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


##########
api/src/main/java/org/apache/gravitino/authorization/Privilege.java:
##########
@@ -89,9 +89,15 @@ enum Name {
     CREATE_ROLE(0L, 1L << 16),
     /** The privilege to grant or revoke a role for the user or the group. */
     MANAGE_GRANTS(0L, 1L << 17),
-    /** The privilege to create a model */
+    /** The privilege to register a model */
+    REGISTER_MODEL(0L, 1L << 18),
+    /** The privilege to create a model. This is deprecated. Please use 
REGISTER_MODEL */
     CREATE_MODEL(0L, 1L << 18),
-    /** The privilege to create a model version */
+    /** The privilege to link a model version */
+    LINK_MODEL_VERSION(0L, 1L << 19),
+    /**
+     * The privilege to create a model version. This is deprecated. Please use 
LINK_MODEL_VERSION
+     */
     CREATE_MODEL_VERSION(0L, 1L << 19),

Review Comment:
   Fixed. Useful input.



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