Approval Workflow Node does not validate inactive UserRoles

48 views
Skip to first unread message

Angel Lara

unread,
Apr 1, 2020, 2:07:29 PM4/1/20
to iDempiere
Hi Community,

I noticed that if an user have multiples assigned roles he can approve a workflow if at least one of the roles he has can approve the document. But, if the records of the tab User Roles are inactive the system still consider that the user has permision to approve.

I checked the code for the class MWFActivity and it is not being verified that the registry is active. I attach the patch with the propose fix. 
MWFActivity.patch

Carlos Antonio Ruiz Gomez

unread,
Apr 2, 2020, 1:09:17 PM4/2/20
to idem...@googlegroups.com
Thanks Angel,





El 1/04/20 a las 20:07, Angel Lara escribió:
Reply all
Reply to author
Forward
0 new messages