elsa-workflows / elsa-core

A .NET workflows library
https://v3.elsaworkflows.io/
MIT License
6.23k stars 1.13k forks source link

Provide an Identity Object in the Workflow to identify User and allow processing of Validation rules inside a Workflow #4793

Open jdevillard opened 7 months ago

jdevillard commented 7 months ago

As mention in discord and during weekly community session, it would be great to embed some kind of identity object in the Workflow Context.

Coupled with some kind of activity, this object will allow the Workflow Creator to create some validation rules based on the User Identity (Group/Role/Name etc...)

Some examples could be :

NightWuYo commented 7 months ago

When multiple people can access the Designer, and some critical jobs/activities can be run from the Designer, audit logging is critical. Kindly give this feature a high priority.