IDEMPIERE-479 (Role->Access All Orgs) not being checked on Workflow Approval

This commit is contained in:
Carlos Ruiz 2012-11-09 13:10:34 -05:00
parent dfe9752326
commit c407d6a3d0
1 changed files with 1 additions and 1 deletions

View File

@ -763,7 +763,7 @@ public class MUser extends X_AD_User
+ "WHERE r.IsActive='Y'"
+ " AND EXISTS (SELECT * FROM AD_User_Roles ur"
+ " WHERE r.AD_Role_ID=ur.AD_Role_ID AND ur.IsActive='Y' AND ur.AD_User_ID=?) "
+ " AND ("
+ " AND ( ( r.isaccessallorgs = 'Y' ) OR "
+ " ("
+ " r.IsUseUserOrgAccess <> 'Y'"
+ " AND EXISTS (SELECT * FROM AD_Role_OrgAccess ro"