jerqi commented on code in PR #4139:
URL: https://github.com/apache/gravitino/pull/4139#discussion_r1673714075
##########
api/src/main/java/com/datastrato/gravitino/authorization/Privilege.java:
##########
@@ -81,34 +81,28 @@ enum Name {
WRITE_TOPIC(0L, 1L << 18),
/** The privilege to read a topic. */
READ_TOPIC(0L, 1L << 19),
- /** The privilege to create a metalake. */
- CREATE_METALAKE(0L, 1L << 20),
- /** The privilege to manage a metalake, including drop and alter a
metalake. */
- MANAGE_METALAKE(0L, 1L << 21),
- /** The privilege to use a metalake, the user can load the information of
the metalake. */
- USE_METALAKE(0L, 1L << 22),
/** The privilege to add a user */
- ADD_USER(0L, 1L << 23),
+ ADD_USER(0L, 1L << 20),
Review Comment:
It's ok to change this. Because we don't persist them in the underlying
storage. We only store the privilege name.
--
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]