Keep admin user detail and one-time password working #119

Merged
weichen merged 1 commits from fix/multiuser-project-collab-r3 into main 2026-10-20 10:50:08 +00:00
Owner

Why: on the live service, opening an admin user detail for any account with a role blanked the page (getUserRole returns a role without permissions), and issuing a one-time password failed with 400 EOF (POST sent without the JSON body the Backend requires).
Evidence: agent-exec unit mupc-frontend-r5-admin-user-fixes (PI, 1fe3212): tsc no new errors, vitest 61 files / 667 tests pass, new tests fail on the old code; authoritative CI on this HEAD.
Impact: projectCreateSources tolerates a role without permissions; the panel fills permissions from the loaded role list; adminIssueOneTimePassword sends '{}' with Content-Type application/json. No other API changes.
Refs: Agent-System-Dev .task/fix-multiuser-project-collab.md; 8788 retest screenshots /tmp/mupc/rt

Why: on the live service, opening an admin user detail for any account with a role blanked the page (getUserRole returns a role without permissions), and issuing a one-time password failed with 400 EOF (POST sent without the JSON body the Backend requires). Evidence: agent-exec unit mupc-frontend-r5-admin-user-fixes (PI, 1fe3212): tsc no new errors, vitest 61 files / 667 tests pass, new tests fail on the old code; authoritative CI on this HEAD. Impact: projectCreateSources tolerates a role without permissions; the panel fills permissions from the loaded role list; adminIssueOneTimePassword sends '{}' with Content-Type application/json. No other API changes. Refs: Agent-System-Dev .task/fix-multiuser-project-collab.md; 8788 retest screenshots /tmp/mupc/rt
weichen added 1 commit 2026-10-20 10:48:58 +00:00
agent-exec transport 91fa500d0ed8f7daca02bd46ba843a9a/b201c6aced99
governance / governance (pull_request) Successful in 13s
ci / test-and-build (pull_request) Successful in 46s
1fe321240a
weichen merged commit e2a670e2aa into main 2026-10-20 10:50:08 +00:00
Sign in to join this conversation.
No Reviewers
No labels
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: weichen/Agent-System-Frontend#119