public TPermissionInfoResp login(String username, String password) {
    return authorInfo.login(username, password);
  }
Query for permissions.

@param authorPlan AuthorReq
@return PermissionInfoResp
iotdb-core/confignode/src/main/java/org/apache/iotdb/confignode/manager/PermissionManager.java