diff --git a/dbPort/src/org/compiere/model/MRole.java b/dbPort/src/org/compiere/model/MRole.java index a66b454ee9..257fdcbd02 100644 --- a/dbPort/src/org/compiere/model/MRole.java +++ b/dbPort/src/org/compiere/model/MRole.java @@ -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);