elsa-core/test/unit/Elsa.ExternalAuthentication.UnitTests/Foundational
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
..
BrokerErrorFactoryTests.cs
ClientReturnPathValidatorTests.cs
ConfigurationIdentityProviderConnectionSourceTests.cs Harden external authentication contracts and flows 2026-07-25 03:48:50 +02:00
ConnectionRevisionCalculatorTests.cs Revise external authentication architecture 2026-07-25 02:35:56 +02:00
DefaultIdentityProviderConnectionRegistryTests.cs Refine test for archived connections in shadow relationships; introduce IsAvailableForAuthentication helper for improved connection filtering logic. 2026-08-02 00:49:26 +02:00
ExternalAuthenticationOptionsTests.cs fix(auth): validate wildcard permission patterns and warn on deny-list stripping (#7997) 2026-08-27 11:45:54 +02:00
ExternalAuthenticationOptionsValidatorTests.cs fix(auth): validate wildcard permission patterns and warn on deny-list stripping (#7997) 2026-08-27 11:45:54 +02:00
ExternalAuthenticationRedactorTests.cs
ExternalAuthenticationRoleDeletionDependencyContributorTests.cs fix(identity): publish the role security notification after role deletion (#8026) 2026-09-06 19:44:36 -07:00
ExternalAuthenticationServiceCollectionTests.cs Guard optional Identity role services 2026-09-06 03:54:35 +02:00
ExternalAuthenticationSessionAdministrationTests.cs
ExternalAuthenticationTestData.cs Revise external authentication architecture 2026-07-25 02:35:56 +02:00
ExternalAuthenticationUserDeletionDependencyContributorTests.cs feat(auth)!: structured authorization model, phases 1-6 (#7980) 2026-08-24 23:44:55 +02:00
HmacExternalAuthenticationHandleHasherTests.cs fix(auth): validate wildcard permission patterns and warn on deny-list stripping (#7997) 2026-08-27 11:45:54 +02:00
IdentityProviderConnectionValidityAssessorTests.cs fix: validate external login methods before discovery 2026-08-02 02:47:28 +02:00
InMemoryExternalAuthenticationSessionStoreTests.cs Fix external authentication review findings 2026-08-02 03:35:39 +02:00
InMemoryExternalIdentityProvisionerTests.cs feat(auth)!: structured authorization model, phases 1-6 (#7980) 2026-08-24 23:44:55 +02:00
InMemoryOneTimeStoresTests.cs
InMemoryOperationalStoresTests.cs
TestDoubles.cs Revise external authentication architecture 2026-07-25 02:35:56 +02:00
TestSystemClock.cs