patch [ 1628050 ] Security: org security improvements
This commit is contained in:
parent
2c92c25022
commit
f1798ab2ce
|
|
@ -1690,7 +1690,7 @@ public final class MRole extends X_AD_Role
|
||||||
|
|
||||||
// ** Data Access **
|
// ** Data Access **
|
||||||
for (int i = 0; i < ti.length; i++)
|
for (int i = 0; i < ti.length; i++)
|
||||||
{
|
{
|
||||||
String TableName = ti[i].getTableName();
|
String TableName = ti[i].getTableName();
|
||||||
|
|
||||||
//[ 1644310 ] Rev. 1292 hangs on start
|
//[ 1644310 ] Rev. 1292 hangs on start
|
||||||
|
|
@ -1909,6 +1909,12 @@ public final class MRole extends X_AD_Role
|
||||||
whatMissing += "O";
|
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
|
// Data Access
|
||||||
if (retValue)
|
if (retValue)
|
||||||
retValue = isTableAccess(AD_Table_ID, false);
|
retValue = isTableAccess(AD_Table_ID, false);
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue