16 lines
883 B
Markdown
16 lines
883 B
Markdown
# Tasks
|
|||
|
|
|
||
|
|
- [x] 1. Save handler: `Authorization: Bearer <session token>`, no `?phone/otp`;
|
||
|
|
domain resolved from `dims/picture/{uploadId}` (`domainCode`) with the queue
|
||
|
|
label as fallback, guarded by a path-safety pattern; `requireOtp` and the
|
||
|
|
`core → uc` alias deleted.
|
||
|
|
- [x] 2. Queue loads enriched with the profile's `domainCode` for display;
|
||
|
|
load-by-id passes it through.
|
||
|
|
- [x] 3. UI: OTP field, state and call parameters removed; panel shows the
|
||
|
|
profile's domain and the picture target.
|
||
|
|
- [x] 4. Tests: save carries the bearer token and no query auth; the resolved
|
||
|
|
domain wins over the body; unsafe values are refused; no OTP field in the
|
||
|
|
served page; queue load exposes `domainCode` (46 tests pass).
|
||
|
|
- [ ] 5. Deploy a2loft and this app, then a field pass: load a queued picture →
|
||
|
|
save with no OTP → confirm the picture lands attributed to the token's phone.
|