luozenglin commented on code in PR #20242: URL: https://github.com/apache/doris/pull/20242#discussion_r1226156236
########## docs/zh-CN/docs/sql-manual/sql-reference/Account-Management-Statements/GRANT.md: ########## @@ -68,7 +70,7 @@ privilege_list 是需要赋予的权限列表,以逗号分隔。当前 Doris 1. 节点权限:NODE_PRIV 2. 库表权限:SELECT_PRIV,LOAD_PRIV,ALTER_PRIV,CREATE_PRIV,DROP_PRIV - 3. 资源权限:USAGE_PRIV + 3. 资源权限<version since="dev">和workload group权限</version>:USAGE_PRIV Review Comment: done ########## fe/fe-core/src/main/java/org/apache/doris/analysis/GrantStmt.java: ########## @@ -69,6 +71,21 @@ public GrantStmt(UserIdentity userIdent, String role, this.role = role; this.tblPattern = null; this.resourcePattern = resourcePattern; + this.workloadGroupPattern = null; Review Comment: done -- 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: commits-unsubscr...@doris.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: commits-unsubscr...@doris.apache.org For additional commands, e-mail: commits-h...@doris.apache.org