Skip to content

feat(api): AB#52 legal compliance - JWT hardening, SMS consent, PII a…#222

Merged
bllr777 merged 1 commit intomainfrom
feature/52-legal-compliance-jwt-sms-anonymize
Apr 24, 2026
Merged

feat(api): AB#52 legal compliance - JWT hardening, SMS consent, PII a…#222
bllr777 merged 1 commit intomainfrom
feature/52-legal-compliance-jwt-sms-anonymize

Conversation

@bllr777
Copy link
Copy Markdown
Collaborator

@bllr777 bllr777 commented Apr 24, 2026

…nonymization

  • Reduce client portal JWT expiry from 8h to 2h (ClientHubAuthController, OrganizationClientPortalController)
  • Add SmsConsentGiven to OrganizationClient entity and OrganizationClientDto; gate Twilio SMS behind consent flag in ChatController and ChatHub
  • EF Core migration: AddSmsConsentToOrganizationClient (20260424165540)
  • Add AnonymizeClientAsync to IOrganizationClientService + OrganizationClientService; overwrite all PII fields with anonymized values
  • Add POST /api/organization/clients/{id}/anonymize endpoint

…nonymization

- Reduce client portal JWT expiry from 8h to 2h (ClientHubAuthController, OrganizationClientPortalController)
- Add SmsConsentGiven to OrganizationClient entity and OrganizationClientDto; gate Twilio SMS behind consent flag in ChatController and ChatHub
- EF Core migration: AddSmsConsentToOrganizationClient (20260424165540)
- Add AnonymizeClientAsync to IOrganizationClientService + OrganizationClientService; overwrite all PII fields with anonymized values
- Add POST /api/organization/clients/{id}/anonymize endpoint
@bllr777 bllr777 merged commit 784081a into main Apr 24, 2026
8 checks passed
@bllr777 bllr777 deleted the feature/52-legal-compliance-jwt-sms-anonymize branch April 24, 2026 17:03
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant