elsa-core/test/unit/Elsa.Identity.UnitTests
Sipke Schoorstra 21e12b3fbd
fix(identity): honor tenant isolation in Memory user and application stores (#8107)
* fix(identity): honor tenant isolation in Memory user and application stores

Align MemoryUserStore and MemoryApplicationStore with EF SetTenantIdFilter
via TenantVisibility: null TenantId is default-tenant-only, and applications
filter by ambient tenant. Stamp missing TenantId on write like ApplyTenantId.

Co-authored-by: Sipke Schoorstra <sipkeschoorstra@outlook.com>

* fix(identity): delete memory users and applications under tenant lock

DeleteAsync now removes under MemoryStore.Sync with TenantVisibility in the
same predicate, so a same-Id replacement from another tenant cannot be wiped.

Co-authored-by: Sipke Schoorstra <sipkeschoorstra@outlook.com>

---------

Co-authored-by: Cursor Agent <cursoragent@cursor.com>
2026-09-13 14:27:51 +02:00
..
Authorization refactor(identity)!: retire the SecurityRoot policy in favour of endpoint permissions (#8003) 2026-08-28 22:28:29 +02:00
Endpoints fix(identity): stop returning password hashes and salts from user creation (#8041) 2026-09-08 00:26:47 +02:00
Features refactor(identity)!: retire the SecurityRoot policy in favour of endpoint permissions (#8003) 2026-08-28 22:28:29 +02:00
HostedServices refactor(identity)!: retire the SecurityRoot policy in favour of endpoint permissions (#8003) 2026-08-28 22:28:29 +02:00
Options [codex] Fail fast on default JWT signing keys (#7496) 2026-05-20 22:30:49 +02:00
Providers [codex] Remove production-usable default admin credentials (#7500) 2026-05-20 20:58:03 +02:00
Services fix(identity): honor tenant isolation in Memory user and application stores (#8107) 2026-09-13 14:27:51 +02:00
ShellFeatures [codex] Remove production-usable default admin credentials (#7500) 2026-05-20 20:58:03 +02:00
Elsa.Identity.UnitTests.csproj Graceful shutdown for the workflow runtime (drain, pause, recover) (#7424) 2026-05-02 19:27:08 +02:00
IdentityTokenTestConstants.cs Distinguish refresh tokens from API access tokens (#7509) 2026-05-20 14:04:28 +02:00