mchades commented on code in PR #12867:
URL: https://github.com/apache/gravitino/pull/12867#discussion_r4216571818
##########
api/src/main/java/org/apache/gravitino/authorization/Privilege.java:
##########
@@ -171,7 +171,13 @@ enum Name {
* credential secrets in the {@code getSecrets} result. Alone it does not
authorize {@code
* getSecrets}. Does not authorize {@code getCredentials}.
*/
- INCLUDE_CREDENTIAL_SECRETS(0L, 1L << 38);
+ INCLUDE_CREDENTIAL_SECRETS(0L, 1L << 38),
+ /** The privilege to create a semantic model. */
+ CREATE_SEMANTIC_MODEL(0L, 1L << 39),
+ /** The privilege to discover a semantic model and load its definition. */
+ SELECT_SEMANTIC_MODEL(0L, 1L << 40),
Review Comment:
Agreed
--
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]