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


##########
api/src/main/java/org/apache/gravitino/authorization/Privilege.java:
##########
@@ -141,7 +141,11 @@ enum Name {
     /** The privilege to use a job template */
     USE_JOB_TEMPLATE(0L, 1L << 26),
     /** The privilege to run a job */
-    RUN_JOB(0L, 1L << 27);
+    RUN_JOB(0L, 1L << 27),
+    /** The privilege to create a view. */
+    CREATE_VIEW(0L, 1L << 28),
+    /** The privilege to select data from a view. */
+    SELECT_VIEW(0L, 1L << 29);

Review Comment:
   We can a new privilege `SELECT` that we can select table and view. Maybe we 
can have privilege `ALTER VIEW` in the future, too.



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