IDEMPIERE-2403 System Master Roles not combining correctly with SaaS

This commit is contained in:
Carlos Ruiz 2015-01-16 16:51:38 -05:00
parent 5f4030e4ab
commit 0422d05487
1 changed files with 5 additions and 5 deletions

View File

@ -1496,7 +1496,7 @@ public final class MRole extends X_AD_Role
// first get the window access from the included and substitute roles // first get the window access from the included and substitute roles
mergeIncludedAccess("m_windowAccess"); // Load included accesses - metas-2009_0021_AP1_G94 mergeIncludedAccess("m_windowAccess"); // Load included accesses - metas-2009_0021_AP1_G94
// and now get the window access directly from this role // and now get the window access directly from this role
MClient client = MClient.get(getCtx(), getAD_Client_ID()); MClient client = MClient.get(Env.getCtx());
String ASPFilter = ""; String ASPFilter = "";
if (client.isUseASP()) if (client.isUseASP())
ASPFilter = ASPFilter =
@ -1583,7 +1583,7 @@ public final class MRole extends X_AD_Role
// first get the process access from the included and substitute roles // first get the process access from the included and substitute roles
mergeIncludedAccess("m_processAccess"); // Load included accesses - metas-2009_0021_AP1_G94 mergeIncludedAccess("m_processAccess"); // Load included accesses - metas-2009_0021_AP1_G94
// and now get the process access directly from this role // and now get the process access directly from this role
MClient client = MClient.get(getCtx(), getAD_Client_ID()); MClient client = MClient.get(Env.getCtx());
String ASPFilter = ""; String ASPFilter = "";
if (client.isUseASP()) if (client.isUseASP())
ASPFilter = ASPFilter =
@ -1665,7 +1665,7 @@ public final class MRole extends X_AD_Role
// first get the task access from the included and substitute roles // first get the task access from the included and substitute roles
mergeIncludedAccess("m_taskAccess"); // Load included accesses - metas-2009_0021_AP1_G94 mergeIncludedAccess("m_taskAccess"); // Load included accesses - metas-2009_0021_AP1_G94
// and now get the task access directly from this role // and now get the task access directly from this role
MClient client = MClient.get(getCtx(), getAD_Client_ID()); MClient client = MClient.get(Env.getCtx());
String ASPFilter = ""; String ASPFilter = "";
if (client.isUseASP()) if (client.isUseASP())
ASPFilter = ASPFilter =
@ -1745,7 +1745,7 @@ public final class MRole extends X_AD_Role
// first get the form access from the included and substitute roles // first get the form access from the included and substitute roles
mergeIncludedAccess("m_formAccess"); // Load included accesses - metas-2009_0021_AP1_G94 mergeIncludedAccess("m_formAccess"); // Load included accesses - metas-2009_0021_AP1_G94
// and now get the form access directly from this role // and now get the form access directly from this role
MClient client = MClient.get(getCtx(), getAD_Client_ID()); MClient client = MClient.get(Env.getCtx());
String ASPFilter = ""; String ASPFilter = "";
if (client.isUseASP()) if (client.isUseASP())
ASPFilter = ASPFilter =
@ -1825,7 +1825,7 @@ public final class MRole extends X_AD_Role
// first get the workflow access from the included and substitute roles // first get the workflow access from the included and substitute roles
mergeIncludedAccess("m_workflowAccess"); // Load included accesses - metas-2009_0021_AP1_G94 mergeIncludedAccess("m_workflowAccess"); // Load included accesses - metas-2009_0021_AP1_G94
// and now get the workflow access directly from this role // and now get the workflow access directly from this role
MClient client = MClient.get(getCtx(), getAD_Client_ID()); MClient client = MClient.get(Env.getCtx());
String ASPFilter = ""; String ASPFilter = "";
if (client.isUseASP()) if (client.isUseASP())
ASPFilter = ASPFilter =