feat: allow verwalter role to act as admin in wizard

This commit is contained in:
DanielS
2026-08-11 00:35:55 +02:00
parent 73e046e959
commit 407484f69d
8 changed files with 17 additions and 17 deletions

View File

@@ -199,7 +199,7 @@ export async function getCustomersForWizard(
.eq('id', user.id)
.single()
const isAdmin = dbUser?.role === 'admin'
const isAdmin = dbUser?.role === 'admin' || dbUser?.role === 'verwaltung'
let client = supabase
if (isAdmin) {