82 lines
4.1 KiB
JSON
82 lines
4.1 KiB
JSON
{
|
|
"release": "perm-menu-20261007",
|
|
"candidateRoot": "C:/kefu",
|
|
"backendFiles": [
|
|
"wechat_rpa/rbac.py",
|
|
"wechat_rpa/admin_backend.py",
|
|
"wechat_rpa/admin_api.py"
|
|
],
|
|
"frontendDir": "admin-web/apps/web-antd/dist",
|
|
"frontendSource": "C:/wechat_rpa/admin-web/apps/web-antd/dist",
|
|
"frontendHeadBuild": "frontend-head-build",
|
|
"frontendReplaced": [
|
|
"index.html"
|
|
],
|
|
"frontendAdded": [
|
|
"css/bootstrap-SmMdnRaD.css",
|
|
"js/ModelUsageStats-BrW0Sf4e.js",
|
|
"js/about-_kbm6UdS.js",
|
|
"js/agents-BpH-nRVU.js",
|
|
"js/archive-account-selector-CnD431sS.js",
|
|
"js/audit-BJdxCM07.js",
|
|
"js/auto-complete-DPMtZUh_.js",
|
|
"js/basic-C_TU_zwi.js",
|
|
"js/batch-dialog-WyzRyiVe.js",
|
|
"js/bootstrap-DvXfyBbH.js",
|
|
"js/call-stats-C1jltbhG.js",
|
|
"js/card-BWlMht0F.js",
|
|
"js/center-BMYuKEWM.js",
|
|
"js/change-password-KKpBGXNZ.js",
|
|
"js/checkbox-5QrAvlgg.js",
|
|
"js/console-DmvFS6DH.js",
|
|
"js/conversations-CTZAqUEV.js",
|
|
"js/desktop-accounts-BUk0R1fJ.js",
|
|
"js/desktop-config-aEO3ZYte.js",
|
|
"js/exports-DYXhr07c.js",
|
|
"js/job-wizard-W5AhMGvz.js",
|
|
"js/model-catalog-zL-btD4t.js",
|
|
"js/model-plan-BRkeGPX4.js",
|
|
"js/overview-llKMeiex.js",
|
|
"js/people-Dk1vC55e.js",
|
|
"js/permission-menu-AfFCmNrf.js",
|
|
"js/permissions-BcyNb-10.js",
|
|
"js/release-kLn5sAJ7.js",
|
|
"js/review-all-CBtwTW-I.js",
|
|
"js/roles-CONGZWhB.js",
|
|
"js/routes-BKPAPB16.js",
|
|
"js/row-CsJKbIWK.js",
|
|
"js/storage-BQg_AlTk.js",
|
|
"js/table-Chk9VWqy.js",
|
|
"js/tabs-I_9QZskC.js",
|
|
"js/tree-PkikVu7q.js",
|
|
"js/users-DtdciA4p.js",
|
|
"js/vue-router-DmVlK1Dq.js",
|
|
"jse/index-index-DMLmyIjm.js"
|
|
],
|
|
"serverTestModules": [
|
|
"test_admin_api.PermissionMenuTest",
|
|
"test_admin_api.PermissionSeedMigrationTest",
|
|
"test_admin_api.RoleManagementTest",
|
|
"test_admin_api.PermissionEnforcementTest",
|
|
"test_admin_api.RoleCheckMigrationTest",
|
|
"test_admin_api.AuthTest",
|
|
"test_admin_api.UserApiTest",
|
|
"test_admin_api.ConfigApiTest",
|
|
"test_admin_api.ReviewRuleConfigApiTest",
|
|
"test_admin_api.ReleaseApiTest.test_reading_needs_release_read_but_writing_needs_release_write",
|
|
"test_admin_api.ReleaseApiTest.test_publishing_a_version_records_it",
|
|
"test_admin_api.StaticMountTest"
|
|
],
|
|
"imageTestModules": [
|
|
"test_archive_api",
|
|
"test_zyt_patient_client"
|
|
],
|
|
"schemaMigration": "additive: permissions table gains page_name/kind/source/sort_order/link_url/link_mode/icon/enabled/created_at/updated_at (ALTER TABLE ADD COLUMN at startup); review:read/review:write rows and grants removed; release:read granted to every role holding config:read, role:read to every role holding user:read. rbac tables dumped to rbac-before.json in preflight.",
|
|
"restartServices": [
|
|
"api",
|
|
"gateway",
|
|
"knowledge-worker"
|
|
],
|
|
"notes": "User request 2026-10-07 ('好多新增加的功能没有同步到权限管理菜单里,同步一下,直接发到线上,并且新增加权限菜单,可以自己增加'). Permission catalog reorganised to mirror the sidebar (menu -> page -> code), new page codes release:read (版本升级, implied by config:read) and role:read (角色权限/权限菜单, implied by user:read), dead review:* codes dropped, codes used by require() but not registered are auto-registered as 'discovered', admins can add custom permission points and sidebar menu links (new page 系统管理 -> 权限菜单, APIs POST/PUT/DELETE /api/v2/permissions, GET /api/v2/custom-menus). Backend files = kefu working tree (production == kefu HEAD for all three, so the 3-way merge is the working tree). web-antd rebuilt from C:/wechat_rpa/admin-web; a build of the untouched HEAD source (frontend-head-build) equals production's page graph except the build time, so every frontend difference comes from this change. gateway (4eebadda) and knowledge-worker (8299aac) are recreated on the release image too: every process runs rbac.seed at startup, and an older seed would delete the new codes' grants on its next restart. Neither process imports a module whose behaviour changes for it (model_gateway.call_outlet/Catalog unchanged since 8299aac)."
|
|
}
|