jerqi commented on code in PR #9177:
URL: https://github.com/apache/gravitino/pull/9177#discussion_r2544220775
##########
api/src/main/java/org/apache/gravitino/authorization/Privilege.java:
##########
@@ -98,7 +98,13 @@ enum Name {
/** The privilege to create a tag */
CREATE_TAG(0L, 1L << 21),
/** The privilege to apply a tag */
- APPLY_TAG(0L, 1L << 22);
+ APPLY_TAG(0L, 1L << 22),
+ /** The privilege to create a job template */
+ CREATE_JOB_TEMPLATE(0L, 1L << 23),
+ /** The privilege to use a job template */
+ USE_JOB_TEMPLATE(0L, 1L << 24),
+ /** The privilege to create a job */
+ CREATE_JOB(0L, 1L << 25);
Review Comment:
1. The job can be checked and canceled by his owner.
2. Maybe we should have a job manager who has the privileges to manage jobs
include getting and canceling for management. Now this role can be finished by
metalake owner.
--
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]