更新前端指针到公文权限修复 #16

Merged
TanWenyan merged 1 commits from wren-dev into main 2026-05-25 12:14:00 +08:00
Owner

背景

前端子仓库已修复公文列表/上传路由权限失效、下级角色编辑上级角色权限,以及 /role-permissions 无权限点击不提示的问题。根仓库需要更新 legal-platform-frontend gitlink 指针以引用该前端提交。

变更内容

  • 更新 legal-platform-frontend 指针到 5d6e6af fix(auth): enforce govdoc route grants and role hierarchy

验证

  • git diff --cached --check
  • 前端:node --test tests/govdoc-audit/route-access.test.mts tests/govdoc-audit/govdoc-access.test.mts tests/govdoc-audit/home-routing.test.mts tests/govdoc-audit/menu-routing.test.mts tests/govdoc-audit/role-permissions-index.test.mts lib/auth/permission-feedback.test.mts
  • 前端:npx eslint 'app/(audit)/role-permissions/RolePermissionsClient.tsx' lib/auth/govdoc-access.ts lib/utils/route-alias.shared.js tests/govdoc-audit/govdoc-access.test.mts tests/govdoc-audit/home-routing.test.mts tests/govdoc-audit/menu-routing.test.mts tests/govdoc-audit/role-permissions-index.test.mts
  • 前端:npx tsc --noEmit --pretty false

说明

  • 根仓库本次只提交前端 gitlink 指针,不包含后端业务代码。
  • ESLint 退出码为 0,但前端 RolePermissionsClient.tsx 仍有 3 个既有 react-hooks/exhaustive-deps warning。
  • 根仓库仍有未跟踪本地文件 tests/test_document_type_permissions.py,不是本次变更,未提交。
## 背景 前端子仓库已修复公文列表/上传路由权限失效、下级角色编辑上级角色权限,以及 `/role-permissions` 无权限点击不提示的问题。根仓库需要更新 `legal-platform-frontend` gitlink 指针以引用该前端提交。 ## 变更内容 - 更新 `legal-platform-frontend` 指针到 `5d6e6af fix(auth): enforce govdoc route grants and role hierarchy`。 ## 验证 - [x] `git diff --cached --check` - [x] 前端:`node --test tests/govdoc-audit/route-access.test.mts tests/govdoc-audit/govdoc-access.test.mts tests/govdoc-audit/home-routing.test.mts tests/govdoc-audit/menu-routing.test.mts tests/govdoc-audit/role-permissions-index.test.mts lib/auth/permission-feedback.test.mts` - [x] 前端:`npx eslint 'app/(audit)/role-permissions/RolePermissionsClient.tsx' lib/auth/govdoc-access.ts lib/utils/route-alias.shared.js tests/govdoc-audit/govdoc-access.test.mts tests/govdoc-audit/home-routing.test.mts tests/govdoc-audit/menu-routing.test.mts tests/govdoc-audit/role-permissions-index.test.mts` - [x] 前端:`npx tsc --noEmit --pretty false` ## 说明 - 根仓库本次只提交前端 gitlink 指针,不包含后端业务代码。 - ESLint 退出码为 0,但前端 `RolePermissionsClient.tsx` 仍有 3 个既有 `react-hooks/exhaustive-deps` warning。 - 根仓库仍有未跟踪本地文件 `tests/test_document_type_permissions.py`,不是本次变更,未提交。
TanWenyan added 1 commit 2026-05-25 11:51:54 +08:00
TanWenyan merged commit dd0dd6d95e into main 2026-05-25 12:14:00 +08:00
Sign in to join this conversation.