eeg_portal/eeg_backend
Bernhard Müller 96bcf57cee feat(community): add metering point deletion with business rules
Backend:
- Add deleteByIdAndUserId to MeteringPointRepository
- Add deleteOwnMeteringPoint with validation (owner, state checks)
- Add DELETE /{id} endpoint to MeteringPointController

Frontend:
- Add deleteMeteringPoint to MeteringPointService
- Add delete button with confirmation dialog
- Only show delete for inactive points (NEW, REJECTED, ERROR)

Business Rules:
- Only owner can delete own metering points
- Only inactive points (NEW, REJECTED, ERROR) can be deleted
- ACTIVE and WAITING_FOR_CONSENT points cannot be deleted

Tests:
- Add MeteringPointServiceTest with 10 unit tests
- All 37 tests passing
2026-07-21 15:06:48 +02:00
..
src feat(community): add metering point deletion with business rules 2026-07-21 15:06:48 +02:00
http-client.private.env.json first working frontend/backend 2026-06-01 16:59:49 +02:00
iam.http refactoring, adaption, community membership handing start implementing 2026-06-15 10:10:33 +02:00
pom.xml complete MaKo consent flow and admin initialization 2026-07-21 10:01:19 +02:00