From 7a341720160510bd20a7ece1bd6c1b5449d2ee37 Mon Sep 17 00:00:00 2001 From: teo_sarca Date: Mon, 2 Jun 2008 17:15:51 +0000 Subject: [PATCH] BF [ 1982398 ] Editable records from other AD_Client --- base/src/org/compiere/model/MRole.java | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/base/src/org/compiere/model/MRole.java b/base/src/org/compiere/model/MRole.java index 199e2d0ddd..06b42cdc5e 100644 --- a/base/src/org/compiere/model/MRole.java +++ b/base/src/org/compiere/model/MRole.java @@ -2055,6 +2055,11 @@ public final class MRole extends X_AD_Role whatMissing += "O"; } + // Client Access: Verify if the role has access to the given client - teo_sarca, BF [ 1982398 ] + if (retValue) { + retValue = isClientAccess(AD_Client_ID, true); // r/w access + } + // 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