- Fix UserTariffController: use @CurrentUserId instead of broken extractUserId() - Fix UserTariffController: use @PathVariable instead of @RequestParam for userId in delete - Add @PreAuthorize annotations to all tariff endpoints (ADMIN for community, MEMBER for user) - Add duplicate tariff prevention for (source, target) pairs - Optimize membership check: replace N+1 query with efficient isActiveMemberOfCommunity() - Update tests to match new membership check API |
||
|---|---|---|
| .. | ||
| main | ||
| test/java/at/mueller/eeg/backend | ||