Inconsistent Hard Delete Behavior When Host Deletes Tenant Data

Author: oguzhanagirCreated Jun 27, 2025Updated Apr 28, 2026

When the host user attempts to hard delete tenant data by setting SetTenantId(tenantId), the data is soft deleted instead of hard deleted. The same operation works as expected when logged in directly as the tenant. This inconsistency should be investigated.

Source: aspnetboilerplate/aspnetboilerplate