docs: staff onboarding without email in the handover; tick change tasks

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01EFUzfj5akPxyikzGc2iAHM
This commit is contained in:
ngqileandClaude Opus 5.5 committed 2026-11-30 11:19:10 +08:00
1 parent c7a51b4074
commit 4412d455bd
3 files changed
+9 -8

No files matched your search

@@ -53,7 +53,8 @@
- It is hidden on the caller's own account.
- It goes through a new proxy route.
- On success it clears both fields and shows "Temporary password set. The user must change it at next sign-in."
- The refusal codes map to i18n messages.
- Refusals show the server's message, like the portal's other forms do.
- The form is hidden on the caller's own account, and while the signed-in admin is still unknown.
- The password lives only in form state. It never goes into the URL, storage or logs.
6. **Handover:** `docs/deployment.md` section 2 (step 6) and section 10 say the admin types each staff member's first password and passes it on in person.
@@ -4,7 +4,7 @@ Design: `design.md`. All tasks run serially: each builds on the one before.
## 1. Backend
- [ ] 1.1 Secure generator (design decision 1). `ValidateUtil.getRandomPasswordString` draws from a static `SecureRandom` with the same alphabet.
- [x] 1.1 Secure generator (design decision 1). `ValidateUtil.getRandomPasswordString` draws from a static `SecureRandom` with the same alphabet.
Tests first:
- the length matches the argument;
@@ -15,7 +15,7 @@ Design: `design.md`. All tasks run serially: each builds on the one before.
- Scope: `solvway-core-libs/src/**/ValidateUtil*`
- Verify: `mvn -T 1C -B -q -pl solvway-core-libs verify`
- [ ] 1.2 services-system endpoints (design decision 2): `/user/validatePasswordFromRulesForAdmin` and `/user/setAdminPassword`.
- [x] 1.2 services-system endpoints (design decision 2): `/user/validatePasswordFromRulesForAdmin` and `/user/setAdminPassword`.
Tests first:
- validate returns the failing `ADMIN_PWD_FORMAT` rules, and an empty list for a passing password;
@@ -25,7 +25,7 @@ Design: `design.md`. All tasks run serially: each builds on the one before.
- Scope: `solvway-services-system/src/**` (user controller, service and tests)
- Verify: `mvn -T 1C -B -q -pl solvway-services-system -am verify`
- [ ] 1.3 mobile-api create and set password (design decisions 3 and 4).
- [x] 1.3 mobile-api create and set password (design decisions 3 and 4).
Tests first:
- **create:**
@@ -56,7 +56,7 @@ Design: `design.md`. All tasks run serially: each builds on the one before.
## 2. Portal
- [ ] 2.1 Password fields on `/users/new` and "Set temporary password" on `/users/[id]` (design decision 5): a proxy route, a service function and i18n keys.
- [x] 2.1 Password fields on `/users/new` and "Set temporary password" on `/users/[id]` (design decision 5): a proxy route, a service function and i18n keys.
Tests first:
- **create:**
@@ -73,7 +73,7 @@ Design: `design.md`. All tasks run serially: each builds on the one before.
## 3. Check and docs
- [ ] 3.1 Browser check and handover.
- [x] 3.1 Browser check and handover.
- **Playwright on the local stack, as admin:**
- create a made-up user with a password;
- sign in as that user in a second session and get sent to the password change;