IDEMPIERE-597 Role Access Update is creating workflow access for other tenants workflows

This commit is contained in:
Carlos Ruiz 2013-01-29 10:37:42 -08:00
parent 09269e1c78
commit c1a0a80416
1 changed files with 1 additions and 1 deletions

View File

@ -464,7 +464,7 @@ public final class MRole extends X_AD_Role
+ "FROM AD_WorkFlow w LEFT JOIN AD_WorkFlow_Access wa ON " + "FROM AD_WorkFlow w LEFT JOIN AD_WorkFlow_Access wa ON "
+ "(wa.AD_Role_ID=" + getAD_Role_ID() + "(wa.AD_Role_ID=" + getAD_Role_ID()
+ " AND w.AD_WorkFlow_ID = wa.AD_WorkFlow_ID) " + " AND w.AD_WorkFlow_ID = wa.AD_WorkFlow_ID) "
+ "WHERE wa.AD_WorkFlow_ID IS NULL AND AccessLevel IN "; + "WHERE w.AD_Client_ID IN (0," + getAD_Client_ID() + ") AND wa.AD_WorkFlow_ID IS NULL AND AccessLevel IN ";
String sqlDocAction = "INSERT INTO AD_Document_Action_Access " String sqlDocAction = "INSERT INTO AD_Document_Action_Access "
+ "(AD_Client_ID,AD_Org_ID,IsActive,Created,CreatedBy,Updated,UpdatedBy," + "(AD_Client_ID,AD_Org_ID,IsActive,Created,CreatedBy,Updated,UpdatedBy,"