laserninja commented on code in PR #13718:
URL: https://github.com/apache/gravitino/pull/13718#discussion_r4226039101
##########
api/src/main/java/org/apache/gravitino/authorization/Privilege.java:
##########
@@ -175,6 +175,15 @@ enum Name {
/** The privilege to create a semantic model. */
CREATE_SEMANTIC_MODEL(0L, 1L << 39),
/** The privilege to discover a semantic model and load its definition. */
+ USE_SEMANTIC_MODEL(0L, 1L << 40),
+ /**
+ * The privilege to discover a semantic model and load its definition.
+ *
+ * <p>Shares the same bit value as USE_SEMANTIC_MODEL for backward
compatibility.
+ *
+ * @deprecated Use {@link #USE_SEMANTIC_MODEL} instead.
+ */
+ @Deprecated
Review Comment:
Agreed. Removed the unreleased `SELECT_SEMANTIC_MODEL` enum, Java helper,
compatibility mapping, and associated docs/tests in f36ddb254.
`USE_SEMANTIC_MODEL` retains the same permission bit. No old-name references
remain in tracked files, and the PR description now reflects the direct rename.
All 80 focused tests, formatting, OpenAPI validation, and Javadoc checks passed.
--
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]