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

Prasad prasad at vtiger.com
Wed Jun 12 17:18:39 GMT 2019


Workaround - http://code.vtiger.com/vtiger/vtigercrm/issues/1125#note_6992
--
FB <http://www.facebook.com/vtiger> I Twit <http://twitter.com/vtigercrm> I
LIn <https://www.linkedin.com/company/1270573?trk=tyah> I Blog
<https://blogs.vtiger.com> I Website <https://www.vtiger.com/>


On Wed, Jun 12, 2019 at 10:23 PM Alan Lord <alanslists at gmail.com> wrote:

> 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
>
>
>
>
> _______________________________________________
> http://www.vtiger.com/
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.vtigercrm.com/pipermail/vtigercrm-developers/attachments/20190612/20c30633/attachment.html>


More information about the vtigercrm-developers mailing list