disable and clear managed-user password fields while Guest is selected
reject Guest password updates in the backend even when the UI is bypassed
cover existing Guest users and live role selection with browser regression tests
regenerate the committed frontend bundle
Why
Guest accounts are restricted shared-access accounts. Although self-service password changes were already blocked, an administrator could still submit a password update for a managed user while Guest remained active.
Impact
Guest creation still requires an initial password. Existing Guest passwords cannot be changed until an administrator removes the Guest role; changing to a non-Guest role and supplying a replacement password remains supported.
Validation
npm run typecheck
npm run lint
npm test (64 passed)
cargo fmt --all -- --check
cargo test -p trx-frontend-http auth::tests --lib (18 passed)
node tests/account-management.mjs with installed Chrome
## Summary
- disable and clear managed-user password fields while Guest is selected
- reject Guest password updates in the backend even when the UI is bypassed
- cover existing Guest users and live role selection with browser regression tests
- regenerate the committed frontend bundle
## Why
Guest accounts are restricted shared-access accounts. Although self-service password changes were already blocked, an administrator could still submit a password update for a managed user while Guest remained active.
## Impact
Guest creation still requires an initial password. Existing Guest passwords cannot be changed until an administrator removes the Guest role; changing to a non-Guest role and supplying a replacement password remains supported.
## Validation
- `npm run typecheck`
- `npm run lint`
- `npm test` (64 passed)
- `cargo fmt --all -- --check`
- `cargo test -p trx-frontend-http auth::tests --lib` (18 passed)
- `node tests/account-management.mjs` with installed Chrome
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.
Summary
Why
Guest accounts are restricted shared-access accounts. Although self-service password changes were already blocked, an administrator could still submit a password update for a managed user while Guest remained active.
Impact
Guest creation still requires an initial password. Existing Guest passwords cannot be changed until an administrator removes the Guest role; changing to a non-Guest role and supplying a replacement password remains supported.
Validation
npm run typechecknpm run lintnpm test(64 passed)cargo fmt --all -- --checkcargo test -p trx-frontend-http auth::tests --lib(18 passed)node tests/account-management.mjswith installed Chrome