Skip to content

[BUG] Nacos v3.2.1 历史版本 详情/回滚/对比 返回 access denied #15037

Closed

Description

@jiakunxu

Describe the bug
新建 namespace 历史版本 详情/回滚/对比 返回

{
    "code": 10001,
    "message": "access denied",
    "data": "Please check dataId, group or namespaceId."
}

How to Reproduce
Image
Image

Desktop (please complete the following information):

  • Version [v3.2.1]

Additional context
接口会校验参数 namespaceId
Image
前端提交时 并没有 namespaceId
Image

Activity

  1. changed the title [-]Nacos v3.2.1 历史版本 详情/回滚/对比 返回 access denied[/-] [+][BUG] Nacos v3.2.1 历史版本 详情/回滚/对比 返回 access denied[/+] on May 6, 2026
  2. KomachiSion commented on May 7, 2026

    @KomachiSion
    Collaborator

    老版本控制台是否也存在问题?

  3. jiakunxu commented on May 7, 2026

    @jiakunxu
    Author

    老版本控制台 没问题

    Image
  4. shiyiyue1102 commented on May 7, 2026

    @shiyiyue1102
    Collaborator

    The issue looks like a console-side regression in the v3 history pages.

    The backend history APIs all read namespaceId from ConfigFormV3, but the current console-ui history requests do not pass it explicitly:

    • console-ui/src/pages/ConfigurationManagement/HistoryDetail/HistoryDetail.js
    • console-ui/src/pages/ConfigurationManagement/HistoryRollback/HistoryRollback.js
    • console-ui/src/pages/ConfigurationManagement/ConfigDetail/ConfigDetail.js

    The requests currently send dataId, groupName, and nid/id, but not namespaceId, which matches the reported access denied response for newly created namespaces. Old console behavior being normal also suggests this is a regression in the new console path.


    这个问题看起来是 v3 控制台历史版本页面的前端回归。

    后端历史接口都会从 ConfigFormV3 读取 namespaceId,但当前 console-ui 里的这些历史版本请求没有显式传它:

    • console-ui/src/pages/ConfigurationManagement/HistoryDetail/HistoryDetail.js
    • console-ui/src/pages/ConfigurationManagement/HistoryRollback/HistoryRollback.js
    • console-ui/src/pages/ConfigurationManagement/ConfigDetail/ConfigDetail.js

    现在请求里只有 dataId、groupName 和 nid/id,没有 namespaceId,这和 issue 里新建 namespace 下返回 access denied 的现象是一致的。老控制台正常,也进一步说明更像是新控制台路径里的回归问题。

  5. added 2 commits that reference this issue on May 8, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions