elsa-core/test/unit/Elsa.Identity.UnitTests
Sipke Schoorstra 1126f536f8
fix(identity): enforce per-tenant uniqueness in Memory identity stores (#8108)
* fix(identity): enforce per-tenant uniqueness in Memory identity stores

Mirror EF PerTenantIdentityUniqueness on Memory user, role, and application
stores so a second Id cannot claim the same Name or ClientId within a tenant.
Same-Id upserts may still rename themselves.

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

* fix(identity): keep Memory identity finds from mutating stored rows

Clone user, role, and application rows on read so a rejected Save of a
Find result cannot leave a colliding name or client id in the store.

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

---------

Co-authored-by: Cursor Agent <cursoragent@cursor.com>
2026-09-13 15:26:08 +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): enforce per-tenant uniqueness in Memory identity stores (#8108) 2026-09-13 15:26:08 +02:00
ShellFeatures [codex] Remove production-usable default admin credentials (#7500) 2026-05-20 20:58:03 +02:00
Elsa.Identity.UnitTests.csproj
IdentityTokenTestConstants.cs Distinguish refresh tokens from API access tokens (#7509) 2026-05-20 14:04:28 +02:00