elsa-core/src/modules/Elsa.Persistence.EFCore/Modules/Identity
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
..
ApplicationStore.cs
Configurations.cs feat(auth)!: structured authorization model, phases 1-6 (#7980) 2026-08-24 23:44:55 +02:00
DbContext.cs Remove migration for external authentication in EFCore.Sqlite module 2026-07-31 14:31:18 +02:00
Feature.cs Remove migration for external authentication in EFCore.Sqlite module 2026-07-31 14:31:18 +02:00
IdentityFeatureExtensions.cs
RoleStore.cs fix(identity): publish the role security notification after role deletion (#8026) 2026-09-06 19:44:36 -07:00
ShellFeature.cs Remove migration for external authentication in EFCore.Sqlite module 2026-07-31 14:31:18 +02:00
UserStore.cs feat: extend shells integration and modular server support (#7399) 2026-04-18 14:33:34 +02:00