You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@iotdb.apache.org by ja...@apache.org on 2023/08/30 10:22:27 UTC

[iotdb] branch auth updated: [auth].fix auth resp error. (#10998)

This is an automated email from the ASF dual-hosted git repository.

jackietien pushed a commit to branch auth
in repository https://gitbox.apache.org/repos/asf/iotdb.git


The following commit(s) were added to refs/heads/auth by this push:
     new 2ac743cd489 [auth].fix auth resp error. (#10998)
2ac743cd489 is described below

commit 2ac743cd4892db5b18aabee00956eb499c72bbed
Author: Colin Li <10...@users.noreply.github.com>
AuthorDate: Wed Aug 30 18:22:20 2023 +0800

    [auth].fix auth resp error. (#10998)
---
 .../main/java/org/apache/iotdb/confignode/persistence/AuthorInfo.java    | 1 +
 1 file changed, 1 insertion(+)

diff --git a/iotdb-core/confignode/src/main/java/org/apache/iotdb/confignode/persistence/AuthorInfo.java b/iotdb-core/confignode/src/main/java/org/apache/iotdb/confignode/persistence/AuthorInfo.java
index cd0d5bd402b..75fcca3ed1e 100644
--- a/iotdb-core/confignode/src/main/java/org/apache/iotdb/confignode/persistence/AuthorInfo.java
+++ b/iotdb-core/confignode/src/main/java/org/apache/iotdb/confignode/persistence/AuthorInfo.java
@@ -563,6 +563,7 @@ public class AuthorInfo implements SnapshotProcessor {
       tUserResp.setPrivilegeList(userPrivilegeList);
       tUserResp.setRoleList(user.getRoleList());
       tUserResp.setSysPriSet(user.getSysPrivilege());
+      tUserResp.setSysPriSetGrantOpt(user.getSysPriGrantOpt());
     }
 
     // Permission information for roles owned by users