OrchardCMS / Orchard

Orchard is a free, open source, community-focused Content Management System built on the ASP.NET MVC platform.
https://orchardproject.net
BSD 3-Clause "New" or "Revised" License
2.37k stars 1.12k forks source link

8657 roleactivities: adds role event activities and handlers for workflows #8658

Closed AndreaPiovanelli closed 1 year ago

AndreaPiovanelli commented 1 year ago

Referencing issue #8657

Event and IRoleEventHandler have been implemented to open up to the possibility of managing role events inside workflows. For the moment, the activity has one possible outcome for each role event ("Created", "Removed", "Renamed", "UserAdded", "UserRemoved", "PermissionAdded" and "PermissionRemoved"). If user needs to check for a specific role, a proper workflow activity must be added (e.g. a Razor execution activity).