IDEMPIERE-2506 Implement Org Tree in Role

This commit is contained in:
Carlos Ruiz 2015-03-08 07:54:21 -05:00
parent 816445c488
commit a974c5134d
1 changed files with 0 additions and 1 deletions

View File

@ -548,7 +548,6 @@ public class Login
+" INNER JOIN AD_Client c on (c.AD_Client_ID=?)"
+" WHERE o.IsActive='Y' "
+" AND o.AD_Client_ID IN (0, c.AD_Client_ID)"
+" AND o.IsSummary='N'"
+" AND (r.IsAccessAllOrgs='Y'"
+" OR (r.IsUseUserOrgAccess='N' AND o.AD_Org_ID IN (SELECT AD_Org_ID FROM AD_Role_OrgAccess ra"
+" WHERE ra.AD_Role_ID=r.AD_Role_ID AND ra.IsActive='Y')) "