details:   https://code.openbravo.com/erp/devel/pi/rev/f5da0e1d9441
changeset: 32722:f5da0e1d9441
user:      Carlos Aristu <carlos.aristu <at> openbravo.com>
date:      Wed Sep 20 09:02:31 2017 +0200
summary:   related to issue 36863: improve comment

diffstat:

 
modules/org.openbravo.userinterface.selector/src/org/openbravo/userinterface/selector/CustomQuerySelectorDatasource.java
 |  2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diffs (12 lines):

diff -r 576e33b667aa -r f5da0e1d9441 
modules/org.openbravo.userinterface.selector/src/org/openbravo/userinterface/selector/CustomQuerySelectorDatasource.java
--- 
a/modules/org.openbravo.userinterface.selector/src/org/openbravo/userinterface/selector/CustomQuerySelectorDatasource.java
  Wed Sep 20 08:57:10 2017 +0200
+++ 
b/modules/org.openbravo.userinterface.selector/src/org/openbravo/userinterface/selector/CustomQuerySelectorDatasource.java
  Wed Sep 20 09:02:31 2017 +0200
@@ -206,7 +206,7 @@
       boolean isOrgSelector = sel.getTable().getName().equals("Organization");
       String orgs;
       if (isOrgSelector) {
-        // Just retrieve the list of readable organizations in the current 
context
+        // Just retrieve the list of direct accessible organizations in the 
current context
         orgs = 
RequestContext.get().getVariablesSecureApp().getSessionValue("#User_Org");
         int accessLevel = 
Integer.parseInt(sel.getTable().getDataAccessLevel());
         if (AccessLevel.ORGANIZATION.getDbValue() != accessLevel && 
!orgs.contains("'0'")) {

------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
Openbravo-commits mailing list
Openbravo-commits@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/openbravo-commits

Reply via email to