* fix(labels): honor tenant isolation in InMemory label stores Stamp ambient TenantId on save and filter find/list/delete/replace through TenantVisibility so Memory Labels match EF SetTenantIdFilter and ApplyTenantId. Labels contracts have no TenantAgnostic flag. Closes #8089 Co-authored-by: Sipke Schoorstra <sipkeschoorstra@outlook.com> * test(labels): account for * visibility when asserting tenant-b leftovers Tenant B correctly sees tenant-agnostic associations; assert those rows remain alongside the other tenant's data after delete/replace. Co-authored-by: Sipke Schoorstra <sipkeschoorstra@outlook.com> * fix(labels): delete visible Memory rows in one locked step Find-then-Delete(id) could remove another tenant's same-ID replacement that landed between the visibility check and the remove. DeleteWhere under MemoryStore.Sync keeps the check and removal together. Co-authored-by: Sipke Schoorstra <sipkeschoorstra@outlook.com> --------- Co-authored-by: Cursor Agent <cursoragent@cursor.com> |
||
|---|---|---|
| .. | ||
| component | ||
| integration | ||
| performance | ||
| TlsSmoke | ||
| unit | ||
| Directory.Build.props | ||
| Directory.Build.targets | ||