IDEMPIERE-1921 Copy Role is not taking into account info window access

This commit is contained in:
Carlos Ruiz 2014-04-29 19:12:29 -05:00
parent 1c4f333dfc
commit 7e51ee33d7
1 changed files with 7 additions and 5 deletions

View File

@ -80,12 +80,12 @@ public class CopyRole extends SvrProcess
}
String[] tables = new String[] {"AD_Window_Access", "AD_Process_Access", "AD_Form_Access",
"AD_Workflow_Access", "AD_Task_Access", "AD_Document_Action_Access",
I_AD_Role_Included.Table_Name,
"AD_Workflow_Access", "AD_Task_Access", "AD_Document_Action_Access", "AD_InfoWindow_Access",
I_AD_Role_Included.Table_Name
};
String[] keycolumns = new String[] {"AD_Window_ID", "AD_Process_ID", "AD_Form_ID",
"AD_Workflow_ID", "AD_Task_ID", "C_DocType_ID, AD_Ref_List_ID",
I_AD_Role_Included.COLUMNNAME_Included_Role_ID,
"AD_Workflow_ID", "AD_Task_ID", "C_DocType_ID, AD_Ref_List_ID", "AD_InfoWindow_ID",
I_AD_Role_Included.COLUMNNAME_Included_Role_ID
};
int action = 0;
@ -101,6 +101,7 @@ public class CopyRole extends SvrProcess
final boolean column_IsReadWrite =
!table.equals("AD_Document_Action_Access")
&& !table.equals("AD_InfoWindow_Access")
&& !table.equals(I_AD_Role_Included.Table_Name);
final boolean column_SeqNo = table.equals(I_AD_Role_Included.Table_Name);
@ -133,4 +134,5 @@ public class CopyRole extends SvrProcess
return "Role copied";
} // doIt
} // CopyRole