feat(auth): add GDPR self-service endpoints for user data

Add /api/v1/me/data endpoints for users to view, export, and delete
their own data without admin privileges (GDPR compliance).

Backend:
- New MeModule with MeController and MeService
- GET /api/v1/me/data - view own data summary
- GET /api/v1/me/data/export - download as JSON
- DELETE /api/v1/me/data - delete all own data

Frontend:
- New /settings/my-data page with full data overview
- Export button for JSON download
- DeleteConfirmationModal with email verification
- Link from settings page to my-data

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
This commit is contained in:
Till-JS 2026-02-12 13:20:08 +01:00
parent 759b227355
commit 9881e84ee3
9 changed files with 928 additions and 13 deletions

View file

@ -17,5 +17,6 @@ import { AuthModule } from '../auth/auth.module';
],
controllers: [UserDataController],
providers: [UserDataService, AdminGuard],
exports: [UserDataService],
})
export class AdminModule {}