[Vtigercrm-developers] vtiger custom event handler and workflows: $current_user

Alan Lord alanslists at gmail.com
Wed Jun 12 16:49:16 GMT 2019


On 12/06/2019 17:38, Prasad wrote:
>     $current_user in the custom Workflow function always seems to be admin.
> 
> 
> This is required to override the behaviour of access restriction that
> some configured task has to perform - which otherwise would bail out.

Yes. And the result of this is:

http://code.vtiger.com/vtiger/vtigercrm/issues/1125

It means that every time a Workflow changes something - the ModTracker 
records the *wrong* user having instigated the change.


Al






More information about the vtigercrm-developers mailing list