security: fix 6 critical RLS vulns, SHA-256 hash, DSGVO [GELÖSCHT], completed status
Some checks failed
Staging Build / build (push) Has been cancelled

This commit is contained in:
DanielS
2026-07-06 22:39:05 +02:00
parent 3d938d29fc
commit 2d44dd4c58
7 changed files with 139 additions and 22 deletions

View File

@@ -167,17 +167,17 @@ export async function anonymizeEndCustomer(id: string): Promise<void> {
.from('end_customers')
.update({
company_name: '[GELÖSCHT]',
vat_id: null,
vat_id: '[GELÖSCHT]',
first_name: '[GELÖSCHT]',
last_name: '[GELÖSCHT]',
street: '[GELÖSCHT]',
zip: null,
city: null,
email: null,
bank_iban: null,
bank_bic: null,
bank_name: null,
bank_owner: null,
zip: '[GELÖSCHT]',
city: '[GELÖSCHT]',
email: '[GELÖSCHT]',
bank_iban: '[GELÖSCHT]',
bank_bic: '[GELÖSCHT]',
bank_name: '[GELÖSCHT]',
bank_owner: '[GELÖSCHT]',
is_anonymized: true,
})
.eq('id', id)