feat(doctor): claim captcha+mobile, owner profile delete, admin map zoom fix
- DoctorClaimController: ALTCHA CaptchaGuard on /claim (dev no-op via ALTCHA_ENABLED=false); optional `mobile` field must match the logged-in user's number (422 ERR_CONFLICT_001 on mismatch) - DoctorController::delete: now IS_AUTHENTICATED_FULLY — admin (any) or the owner of a claimed profile (IDOR-guarded); FK appointment guard kept - DoctorDetailPage address map: MapController calls map.invalidateSize() before flyTo (fixes needing to pick a city twice on a freshly-mounted map); geocode retries once (nominatim empty/429 on first hit) - tests: mobile mismatch, owner-delete allowed + others 403, unclaimed not deletable by random user - docs: doctor-claim.md (mobile+captcha), doctor.md (delete permission) Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
This commit is contained in:
graphify-out/cache/ast/v0.8.44/02bf0d9faa621403a1f4e81f2c60384dd1ca334887d5de779e595be0633836ce.json
Vendored
+1
File diff suppressed because one or more lines are too long
graphify-out/cache/ast/v0.8.44/37e0abb6301621c0888c4a656b37bc60ba1deea4c7f5682270b0a478d51ddd40.json
Vendored
+1
File diff suppressed because one or more lines are too long
graphify-out/cache/ast/v0.8.44/416749471adfa15ec849cbf143456d33bdefddc9d52c52fa593d99598289da84.json
Vendored
+1
File diff suppressed because one or more lines are too long
graphify-out/cache/ast/v0.8.44/4b0e0251d1b9331ee58fc182d1a51a2e2297a3f5211886432403a8e8535d3a76.json
Vendored
+1
File diff suppressed because one or more lines are too long
graphify-out/cache/ast/v0.8.44/4dfa2a1a2a64648f2fdec17dc619423ea3ae2b5eb36fabbca78cf6b02b044002.json
Vendored
+1
File diff suppressed because one or more lines are too long
graphify-out/cache/ast/v0.8.44/7e99c6ac299dcc704fa82e35341b0d933f80d0290e6851e0c5d7e8c67a44bf4f.json
Vendored
+1
File diff suppressed because one or more lines are too long
graphify-out/cache/ast/v0.8.44/c18c03b15b41f7a206dc90d63428de7fbcefdb1cab1ef0e6b2202fe4ccda553e.json
Vendored
+1
File diff suppressed because one or more lines are too long
graphify-out/cache/ast/v0.8.44/c50066c8bd8a380b1536fe3928bd63f7687b5ba6fe066b54b0ea45f4c44a7422.json
Vendored
+1
File diff suppressed because one or more lines are too long
Reference in New Issue
Block a user