Implement premium features and GDPR compliance in bot and WebUI
- Added new models for premium tier configurations and assignments, enabling feature limits for free and premium users. - Introduced GDPR deletion logging and commands for user data management. - Enhanced logging configuration with retention days for audit logs. - Updated bot commands and job processing to include new premium and GDPR functionalities. - Improved localization with new keys for premium features and GDPR commands in both English and German. - Added UI components for managing premium settings and logging retention in the WebUI.
This commit is contained in:
@@ -42,6 +42,16 @@ docker compose run --rm bot pnpm prisma:migrate
|
||||
pnpm prisma:generate
|
||||
```
|
||||
|
||||
## Premium & DSGVO
|
||||
|
||||
- `PremiumTierConfig` (FREE/PREMIUM Limits + Feature-Flags)
|
||||
- `GuildPremiumAssignment` / `UserPremiumAssignment`
|
||||
- `GdprDeletionLog` (Protokoll der `/gdpr delete`-Läufe)
|
||||
- `GuildSettings.snipeEnabled` (Default `false`)
|
||||
- `LoggingConfig.retentionDays` (Default `90`, `0` = unbegrenzt)
|
||||
|
||||
Migration: `20260722200000_premium_gdpr`
|
||||
|
||||
## Backup (automatisch)
|
||||
|
||||
- Job: BullMQ `dailyPgDump`
|
||||
|
||||
Reference in New Issue
Block a user