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
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.
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