From fcd88001c77e6b27b7c3e6259e6fb4b2558f0217 Mon Sep 17 00:00:00 2001 From: Z-HUANT <1781898481@qq.com> Date: Thu, 11 Jan 2024 11:27:18 +0800 Subject: [PATCH 1/3] chore(auth config): update authentication config doc --- content/cn/docs/config/config-authentication.md | 2 +- content/en/docs/config/config-authentication.md | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/content/cn/docs/config/config-authentication.md b/content/cn/docs/config/config-authentication.md index 7c70daeff..0133150d4 100644 --- a/content/cn/docs/config/config-authentication.md +++ b/content/cn/docs/config/config-authentication.md @@ -73,7 +73,7 @@ gremlin.graph=org.apache.hugegraph.auth.HugeFactoryAuthProxy 在鉴权配置完成后,需在首次执行 `init-store.sh` 时命令行中输入 `admin` 密码 (非 docker 部署模式下) -如果基于 docker 镜像部署或者已经初始化 HugeGraph 并需要转换为鉴权模式,需要删除相关图数据并重新启动 HugeGraph,若图已有业务数据,暂时**无法直接转换**鉴权模式 (对于该功能的改进/支持将在下个版本中发布)。 +如果基于 docker 镜像部署或者已经初始化 HugeGraph 并需要转换为鉴权模式,需要删除相关图数据并重新启动 HugeGraph,若图已有业务数据,暂时**无法直接转换**鉴权模式 (对于该功能的改进/支持将在下个版本中发布,最新代码已经进行修复: [PR 2411](https://github.com/apache/incubator-hugegraph/pull/2411))。 ```bash # stop the hugeGraph firstly diff --git a/content/en/docs/config/config-authentication.md b/content/en/docs/config/config-authentication.md index 7615daab9..539fa1ff2 100644 --- a/content/en/docs/config/config-authentication.md +++ b/content/en/docs/config/config-authentication.md @@ -81,7 +81,7 @@ After the authentication configuration completed, enter the **admin password** o If deployed based on Docker image or if HugeGraph has already been initialized and needs to be converted to authentication mode, relevant graph data needs to be deleted and HugeGraph needs to be restarted. If there is already business data in the diagram, -it is temporarily **not possible** to directly convert the authentication mode (improvements/support for this feature will be released in the next version). +it is temporarily **not possible** to directly convert the authentication mode (improvements/support for this feature will be released in the next version. The latest code has already been fixed: [PR 2411](https://github.com/apache/incubator-hugegraph/pull/2411).). ```bash # stop the hugeGraph firstly From fae91b293130ce6e9bd1c77fa093876c717f8fbe Mon Sep 17 00:00:00 2001 From: imbajin Date: Thu, 11 Jan 2024 14:27:47 +0800 Subject: [PATCH 2/3] Apply suggestions from code review --- content/cn/docs/config/config-authentication.md | 2 +- content/en/docs/config/config-authentication.md | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/content/cn/docs/config/config-authentication.md b/content/cn/docs/config/config-authentication.md index 0133150d4..0863cf411 100644 --- a/content/cn/docs/config/config-authentication.md +++ b/content/cn/docs/config/config-authentication.md @@ -73,7 +73,7 @@ gremlin.graph=org.apache.hugegraph.auth.HugeFactoryAuthProxy 在鉴权配置完成后,需在首次执行 `init-store.sh` 时命令行中输入 `admin` 密码 (非 docker 部署模式下) -如果基于 docker 镜像部署或者已经初始化 HugeGraph 并需要转换为鉴权模式,需要删除相关图数据并重新启动 HugeGraph,若图已有业务数据,暂时**无法直接转换**鉴权模式 (对于该功能的改进/支持将在下个版本中发布,最新代码已经进行修复: [PR 2411](https://github.com/apache/incubator-hugegraph/pull/2411))。 +如果基于 docker 镜像部署或者已经初始化 HugeGraph 并需要转换为鉴权模式,需要删除相关图数据并重新启动 HugeGraph,若图已有业务数据,暂时**无法直接转换**鉴权模式 (对于该功能的改进将在下个版本中发布,修改方式可参考 [PR 2411](https://github.com/apache/incubator-hugegraph/pull/2411))。 ```bash # stop the hugeGraph firstly diff --git a/content/en/docs/config/config-authentication.md b/content/en/docs/config/config-authentication.md index 539fa1ff2..8aa005c19 100644 --- a/content/en/docs/config/config-authentication.md +++ b/content/en/docs/config/config-authentication.md @@ -81,7 +81,7 @@ After the authentication configuration completed, enter the **admin password** o If deployed based on Docker image or if HugeGraph has already been initialized and needs to be converted to authentication mode, relevant graph data needs to be deleted and HugeGraph needs to be restarted. If there is already business data in the diagram, -it is temporarily **not possible** to directly convert the authentication mode (improvements/support for this feature will be released in the next version. The latest code has already been fixed: [PR 2411](https://github.com/apache/incubator-hugegraph/pull/2411).). +it is temporarily **not possible** to directly convert the authentication mode (improvements/support for this feature will be released in the next version. Could refer [PR 2411](https://github.com/apache/incubator-hugegraph/pull/2411)). ```bash # stop the hugeGraph firstly From e8a4883e6d37425a40e862ebf71859f50c03984b Mon Sep 17 00:00:00 2001 From: imbajin Date: Thu, 11 Jan 2024 14:28:27 +0800 Subject: [PATCH 3/3] Update content/cn/docs/config/config-authentication.md --- content/cn/docs/config/config-authentication.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/content/cn/docs/config/config-authentication.md b/content/cn/docs/config/config-authentication.md index 0863cf411..65516a241 100644 --- a/content/cn/docs/config/config-authentication.md +++ b/content/cn/docs/config/config-authentication.md @@ -73,7 +73,7 @@ gremlin.graph=org.apache.hugegraph.auth.HugeFactoryAuthProxy 在鉴权配置完成后,需在首次执行 `init-store.sh` 时命令行中输入 `admin` 密码 (非 docker 部署模式下) -如果基于 docker 镜像部署或者已经初始化 HugeGraph 并需要转换为鉴权模式,需要删除相关图数据并重新启动 HugeGraph,若图已有业务数据,暂时**无法直接转换**鉴权模式 (对于该功能的改进将在下个版本中发布,修改方式可参考 [PR 2411](https://github.com/apache/incubator-hugegraph/pull/2411))。 +如果基于 docker 镜像部署或者已经初始化 HugeGraph 并需要转换为鉴权模式,需要删除相关图数据并重新启动 HugeGraph,若图已有业务数据,暂时**无法直接转换**鉴权模式 (对于该功能的改进将在下个版本发布,修改方式可参考 [PR 2411](https://github.com/apache/incubator-hugegraph/pull/2411))。 ```bash # stop the hugeGraph firstly