yuqi1129 commented on code in PR #4139:
URL: https://github.com/apache/gravitino/pull/4139#discussion_r1673680963
##########
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:
You'd better try to avoid changing the value of `highBits` and `lowBits` of
existing Enum.
--
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]