WeKnora/docs/images
JLi 643f64180e
feat(system): add platform user management and streamline settings (#4153)
* feat(system): platform user management — list, enable/disable, reset password, role toggle

Adds a SystemAdmin-only user management panel under platform settings
(System global -> Access). The backend already had repository primitives
and promote/revoke endpoints; this wires the missing service/handler/route
for listing and account-status changes and adds the UI.

Backend
- New GET /system/admin/users: paginated, cross-tenant user list
  (offset/limit, limit capped at 200), serialised via ToUserInfo so password
  hashes are never exposed; has_more derived with a limit+1 fetch (no COUNT).
- New POST /system/admin/users/status: enable/disable an account.
  Disabling revokes all of the user's tokens immediately. Service guards
  reject self-disable and disabling the last active system administrator.
- ValidateToken now re-checks is_active on every request, so a disabled
  account cannot keep using a previously issued access token.

Frontend
- UserListDialog: table with status/role tags, pagination, in-page
  username/email filter, enable/disable and reset-password actions, and
  one-click system-admin promote/revoke (reuses existing endpoints) with
  confirmation prompts. Reset-password dialog is a sibling (not nested)
  dialog so close/cancel/overlay all work.
- All new strings are i18n keys under system.globalSettings.userList in
  all six locales (en-US, zh-CN, zh-TW, ja-JP, ko-KR, ru-RU).

Tests: handler unit tests for list pagination/redaction/limit-cap and for
status-change success/guard/404 paths; existing handler/service/router
suites pass.

Co-authored-by: MOSS Agent <noreply@example.com>

* fix(system): make account status changes atomic and validate requests

* refactor(system): streamline settings and add dedicated user management tab

* fix(system): resolve user management CI lint findings

* fix(system): preserve account status during ordinary user updates

---------

Co-authored-by: desksk <26273255+desksk@users.noreply.github.com>
Co-authored-by: MOSS Agent <noreply@example.com>
Co-authored-by: wizardchen <wizardchen@tencent.com>
2026-10-11 17:07:00 +08:00
..
mcp-configuration feat(mcp)!: persist tool catalogs and add guided configuration (#3118) 2026-09-09 13:34:56 +08:00
readme docs(readme): surface agent tools in the overview and condense feature tables (#3688) 2026-09-25 09:53:19 +08:00
system-settings feat(system): add platform user management and streamline settings (#4153) 2026-10-11 17:07:00 +08:00
agent-qa.png docs: refresh v0.8.0 showcase screenshots and drop star-history 2026-09-03 14:46:44 +08:00
answer.png init commit 2025-08-05 15:08:07 +08:00
arc.png doc: add process parsing md 2025-09-10 17:25:07 +08:00
browser-connection.png feat(browser): connect local Chrome with task controls and display modes (#3180) 2026-09-11 17:59:27 +08:00
browser-task-handoff.png fix(browser): align BrowserSkill 0.3.0 and repair task lifecycle 2026-09-17 11:54:12 +08:00
browser-task-preview.png feat(browser): connect local Chrome with task controls and display modes (#3180) 2026-09-11 17:59:27 +08:00
chat-steer-preview.png fix(chat): preserve steering continuity and composer focus 2026-09-09 20:15:23 +08:00
chat-steer-send-preview.png fix(chat): preserve steering continuity and composer focus 2026-09-09 20:15:23 +08:00
config.png docs: Update config docs 2025-09-08 12:22:47 +08:00
graph1.png init commit 2025-08-05 15:08:07 +08:00
graph2.png init commit 2025-08-05 15:08:07 +08:00
graph3.png docs: 更新多语言文档,新增知识图谱与MCP配置指南及目录结构 2025-11-19 16:56:49 +08:00
kb-chunk-edit.png docs(release): prepare v0.7.2 release notes and version bump 2026-08-07 11:37:05 +08:00
kb-document-list.png docs(release): prepare v0.7.2 release notes and version bump 2026-08-07 11:37:05 +08:00
knowledgebases.png docs: Update README files with new terminology and images for Knowledge Base Management and Agent Mode Tool Call Process 2025-11-26 21:18:50 +08:00
knowledges.png init commit 2025-08-05 15:08:07 +08:00
langfuse.png docs(readme): replace showcase screenshots with consistent website-docs captures 2026-08-07 11:37:05 +08:00
logo.png init commit 2025-08-05 15:08:07 +08:00
pipeline.jpg init commit 2025-08-05 15:08:07 +08:00
pipeline.png chore(docs): Fix Docs Spell 2025-09-15 19:15:15 +08:00
pipeline2.jpeg doc: add process parsing md 2025-09-10 17:25:07 +08:00
qa.png docs(readme): replace showcase screenshots with consistent website-docs captures 2026-08-07 11:37:05 +08:00
rbac-create-workspace.png chore(release): v0.6.0 2026-05-21 16:56:19 +08:00
rbac-member-management.png chore(release): v0.6.0 2026-05-21 16:56:19 +08:00
rbac-pending-invitation.png chore(release): v0.6.0 2026-05-21 16:56:19 +08:00
rbac-workspace-switcher.png chore(release): v0.6.0 2026-05-21 16:56:19 +08:00
settings.png feat: update readme & docs 2026-03-30 21:38:45 +08:00
skill-catalog.png docs: refresh v0.8.0 showcase screenshots and drop star-history 2026-09-03 14:46:44 +08:00
skill-sandbox-chat.png docs: refresh v0.8.0 showcase screenshots and drop star-history 2026-09-03 14:46:44 +08:00
wiki-browser.png docs(readme): replace showcase screenshots with consistent website-docs captures 2026-08-07 11:37:05 +08:00
wiki-graph.png docs(readme): replace showcase screenshots with consistent website-docs captures 2026-08-07 11:37:05 +08:00
wiki-revision-history.png docs(release): prepare v0.7.2 release notes and version bump 2026-08-07 11:37:05 +08:00