fix: deduplicate account vehicle permissions

This commit is contained in:
lingniu
2026-07-16 14:16:22 +08:00
parent a1195fb97d
commit 48e2ce9fd4
5 changed files with 175 additions and 20 deletions

View File

@@ -36,11 +36,17 @@ export interface AdminUser {
externalSubject?: string;
menuKeys: string[];
vehicleVins: string[];
vehicles: AdminVehicleGrant[];
lastLoginAt?: string;
createdAt: string;
updatedAt: string;
}
export interface AdminVehicleGrant {
vin: string;
plate: string;
}
export interface CustomerUserInput {
username?: string;
displayName: string;