patch [ 1628050 ] Security: org security improvements

This commit is contained in:
teo_sarca 2007-03-04 23:09:08 +00:00
parent 2c92c25022
commit f1798ab2ce
1 changed files with 7 additions and 1 deletions

View File

@ -1690,7 +1690,7 @@ public final class MRole extends X_AD_Role
// ** Data Access **
for (int i = 0; i < ti.length; i++)
{
{
String TableName = ti[i].getTableName();
//[ 1644310 ] Rev. 1292 hangs on start
@ -1909,6 +1909,12 @@ public final class MRole extends X_AD_Role
whatMissing += "O";
}
// Org Access: Verify if the role has access to the given organization - teo_sarca, patch [ 1628050 ]
if (retValue) {
retValue = isOrgAccess(AD_Org_ID, true); // r/w access
whatMissing="W";
}
// Data Access
if (retValue)
retValue = isTableAccess(AD_Table_ID, false);