elsa-core/test/unit/Elsa.ExternalAuthentication.UnitTests
Copilot 536cee3fc2
fix(identity): publish the role security notification after role deletion (#8026)
* Initial plan

* Publish security notification after role deletion

Co-authored-by: sfmskywalker <938393+sfmskywalker@users.noreply.github.com>

* Fix atomic role deletion notifications

Co-authored-by: sfmskywalker <938393+sfmskywalker@users.noreply.github.com>

* refactor(identity): delegate MemoryRoleStore.DeleteAsync to TryDeleteAsync

Mirrors EFCoreRoleStore.DeleteAsync so the deletion logic exists once
instead of being duplicated between DeleteAsync and TryDeleteAsync.

Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>

* fix(identity): scope the atomic role delete capability to a single role ID

Narrow IRoleStoreWithAtomicDelete.TryDeleteAsync to accept a single role
ID instead of a RoleFilter, closing a race where two concurrent deletes
matching multiple roles could each remove one and both report success.

Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>

---------

Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com>
Co-authored-by: sfmskywalker <938393+sfmskywalker@users.noreply.github.com>
Co-authored-by: Sipke Schoorstra <sipkeschoorstra@outlook.com>
Co-authored-by: Claude Fable 5.1 <noreply@anthropic.com>
2026-09-06 19:44:36 -07:00
..
Clients Introduce shadow relationship management in identity provider connections 2026-07-31 01:00:36 +02:00
Extensibility Fix external authentication setting field identifiers 2026-07-25 14:07:06 +02:00
Features Fix external authentication connection contracts 2026-07-27 10:07:29 +02:00
Foundational fix(identity): publish the role security notification after role deletion (#8026) 2026-09-06 19:44:36 -07:00
Notifications Add atomic external identity link replacement 2026-07-26 23:40:17 +02:00
OpenIdConnect Harden external authentication contracts and flows 2026-07-25 03:48:50 +02:00
Permissions refactor(auth)!: retire the legacy permission constants and duplicate descriptor types (#7987) 2026-08-25 06:04:32 +02:00
Previews Harden external authentication contracts and flows 2026-07-25 03:48:50 +02:00
Secrets fix: simplify external authentication secret IDs 2026-08-02 00:22:16 +02:00
Security Revise external authentication architecture 2026-07-25 02:35:56 +02:00
Elsa.ExternalAuthentication.UnitTests.csproj Harden external authentication contracts and flows 2026-07-25 03:48:50 +02:00