imbajin commented on code in PR #501:
URL: https://github.com/apache/hugegraph-doc/pull/501#discussion_r4111696896
##########
content/cn/docs/clients/restful-api/auth.md:
##########
@@ -6,9 +6,11 @@ description: "Authentication(认证鉴权)REST 接口:管理用户、角色
---
> **版本变更说明**:
-> - 1.7.0+: Auth API 路径使用 GraphSpace 格式,如 `/graphspaces/DEFAULT/auth/users`,且
group/target 等 id 格式与 name 一致(如 `admin`)
+> - 1.7.0 及之后:用户、图空间范围内的用户组、资源、关联和赋权等接口使用
`/graphspaces/{graphspace}/auth/...`。登录、登出和 token 校验仍使用顶层
`/auth/login`、`/auth/logout`、`/auth/verify`;图空间默认角色接口位于
`/graphspaces/{graphspace}/role`。源码还保留顶层 `/auth/groups` 接口;本页组接口示例使用图空间范围接口。
Review Comment:
Thanks. The current head scopes this page to `master` and links to the 1.7
and 1.5 versioned authentication pages for historical routes. The GraphSpace
group examples are explicitly presented under the current-page scope.
--
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: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]