IDEMPIERE-2408 Workflow activities count is not filtered by role access
This commit is contained in:
parent
bf4765113f
commit
5f2c3e87de
|
@ -97,6 +97,8 @@ 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);
|
||||
PreparedStatement pstmt = null;
|
||||
ResultSet rs = null;
|
||||
try
|
||||
|
|
Loading…
Reference in New Issue