IDEMPIERE-2408 - minor - simplify default role discovery
This commit is contained in:
parent
5f2c3e87de
commit
9c3473e21b
|
@ -97,8 +97,7 @@ public class DPActivitiesModel {
|
|||
+ ") AND a.AD_Client_ID=?"; // #5
|
||||
int AD_User_ID = Env.getAD_User_ID(Env.getCtx());
|
||||
int AD_Client_ID = Env.getAD_Client_ID(Env.getCtx());
|
||||
MRole role = MRole.get(Env.getCtx(), Env.getAD_Role_ID(Env.getCtx()));
|
||||
sql = role.addAccessSQL(sql, "a", true, false);
|
||||
sql = MRole.getDefault().addAccessSQL(sql, "a", true, false);
|
||||
PreparedStatement pstmt = null;
|
||||
ResultSet rs = null;
|
||||
try
|
||||
|
|
Loading…
Reference in New Issue