From e0887e83d4b36fb722134b9c21ba700ca28e5287 Mon Sep 17 00:00:00 2001 From: KrzysztofPajak Date: Wed, 9 Sep 2026 20:00:40 +0200 Subject: [PATCH] fix(store): close AvailableStores cross-store leak in Customer controller Follow-up to ARCH-001 Phase 20 (Customer consolidation, #819), same class of issue caught during Phase 21 (EmailAccount, #820) code review. BaseCustomerController.Create()/Edit(string) always populate model.AvailableStores with every store's id/name via the shared PrepareCustomerModel call. Store's own CreateOrUpdate.TabInfo view gates the StaffStoreId/StoreId