elsa-core/test/unit/Elsa.Identity.UnitTests/Services
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
..
CredentiallessUserTests.cs Add external authentication broker 2026-07-24 19:04:26 +02:00
DefaultAccessTokenIssuerRegistrationTests.cs Fix external authentication review findings 2026-08-02 03:35:39 +02:00
DefaultApiKeyGeneratorAndParserTests.cs Refine identity secret hashing review fixes 2026-05-21 01:45:17 +02:00
DefaultElsaTokenServiceTests.cs Preserve Elsa permissions during external sign-in 2026-07-26 00:27:54 +02:00
DefaultIdentityRefreshTokenServiceTests.cs Fix local external authentication refresh 2026-07-26 01:49:36 +02:00
DefaultRandomStringGeneratorTests.cs Clear temporary secret hashing buffers 2026-05-21 01:16:12 +02:00
DefaultSecretHasherTests.cs feat(auth)!: structured authorization model, phases 1-6 (#7980) 2026-08-24 23:44:55 +02:00
PermissionStampValidatorTests.cs feat(auth)!: structured authorization model, phases 1-6 (#7980) 2026-08-24 23:44:55 +02:00
RoleAuthorizationServiceTests.cs feat(auth)!: structured authorization model, phases 1-6 (#7980) 2026-08-24 23:44:55 +02:00
RoleDeletionCoordinatorTests.cs fix(identity): publish the role security notification after role deletion (#8026) 2026-09-06 19:44:36 -07:00
RoleManagerTests.cs fix(identity): isolate in-memory roles by tenant (#8032) 2026-09-05 19:01:42 -07:00
SecretHasherDefaultOverloadTests.cs Address identity review feedback 2026-05-21 02:03:06 +02:00
UserDeletionCoordinatorTests.cs Harden external identity race compensation 2026-08-02 23:19:49 +02:00