public void testPrivilege() throws IoTDBConnectionException, StatementExecutionException {
    session_src.executeNonQueryStatement("create user " + userName + " '" + passwd + "';");
    session_src.executeNonQueryStatement("grant read,write on root.** to user " + userName);
  }
Permission Test: Username currently only serves for connection, no permissions defined.
integration-test/src/test/java/org/apache/iotdb/subscription/it/triple/treemodel/regression/user/IoTDBOtherUserConsumerIT.java