Openbravo Issue Tracking System - Openbravo ERP
View Issue Details
0040303Openbravo ERP01. General setuppublic2019-03-01 08:262019-03-28 14:56
pramodkumar 
jarmendariz 
normalmajoralways
closedfixed 
5
3.0PR18Q2 
3.0PR19Q2 
alostale
Core
No
0040303: System allows to show all the organizations to the user who has access to only single organization
In OB user with access to one store can see all the different organizations under Organization Tab.

Although, user is not able to view any information in the sub tabs for all other organizations except logged in Organization but user should not be able to see the header information for all organizations as well.

1. Create a new user e.g test
2. Assign a role, let say sales to the corresponding user.
3. Provide only one organization access to the role, let say Vall Blanca Store
4. Login as test
5. Go to the organization window, you can see all organization names.
No tags attached.
related to defect 0033166 closed alostale Role with access to one organization can edit all of them in Organization window 
Issue History
2019-03-01 08:26pramodkumarNew Issue
2019-03-01 08:26pramodkumarAssigned To => Triage Finance
2019-03-01 08:26pramodkumarModules => Core
2019-03-01 08:26pramodkumarResolution time => 1551394800
2019-03-01 08:26pramodkumarRegression date => 2019-03-21
2019-03-01 08:26pramodkumarTriggers an Emergency Pack => No
2019-03-04 16:29ngarciaResolution time1551394800 => 1553209200
2019-03-04 16:29ngarciaRegression date2019-03-21 =>
2019-03-05 10:51pramodkumarResolution time1553209200 => 1553468400
2019-03-05 10:51pramodkumarSteps to Reproduce Updatedbug_revision_view_page.php?rev_id=18384#r18384
2019-03-05 15:50SandrahuguetAssigned ToTriage Finance => AtulOpenbravo
2019-03-08 10:33SandrahuguetAssigned ToAtulOpenbravo => platform
2019-03-08 13:46jarmendarizAssigned Toplatform => jarmendariz
2019-03-08 13:46jarmendarizStatusnew => scheduled
2019-03-11 13:26jarmendarizRelationship addedrelated to 0033166
2019-03-18 14:07hgbotCheckin
2019-03-18 14:07hgbotNote Added: 0110477
2019-03-18 14:07hgbotStatusscheduled => resolved
2019-03-18 14:07hgbotResolutionopen => fixed
2019-03-18 14:07hgbotFixed in SCM revision => http://code.openbravo.com/erp/devel/pi/rev/cab170f3cdc519d3a7b35bc6e9198c0044075767 [^]
2019-03-18 14:08jarmendarizReview Assigned To => alostale
2019-03-26 08:56hgbotCheckin
2019-03-26 08:56hgbotNote Added: 0110641
2019-03-26 08:57alostaleNote Added: 0110643
2019-03-26 08:57alostaleStatusresolved => closed
2019-03-26 08:57alostaleFixed in Version => 3.0PR19Q2
2019-03-28 14:56hudsonbotCheckin
2019-03-28 14:56hudsonbotNote Added: 0110872
2019-03-28 14:56hudsonbotCheckin
2019-03-28 14:56hudsonbotNote Added: 0110890

Notes
(0110477)
hgbot   
2019-03-18 14:07   
Repository: erp/devel/pi
Changeset: cab170f3cdc519d3a7b35bc6e9198c0044075767
Author: Javier Armendáriz <javier.armendariz <at> openbravo.com>
Date: Tue Mar 12 19:24:58 2019 +0100
URL: http://code.openbravo.com/erp/devel/pi/rev/cab170f3cdc519d3a7b35bc6e9198c0044075767 [^]

Fixed issue 40303: Organization table shows all orgs regardless user visibility

Added an HQL where clause for the organization tab to filter properly its data.

---
M modules/org.openbravo.service.datasource/src/org/openbravo/service/datasource/TreeDatasourceService.java
M modules/org.openbravo.service.json/src/org/openbravo/service/json/AdvancedQueryBuilder.java
M src-db/database/sourcedata/AD_TAB.xml
M src-test/src/org/openbravo/test/AllWebserviceTests.java
A src-test/src/org/openbravo/test/datasource/OrganizationWindowRoleFilterTest.java
---
(0110641)
hgbot   
2019-03-26 08:56   
Repository: erp/devel/pi
Changeset: b76c05056de57c435fa9f0d654dc22f9cd9eca24
Author: Asier Lostalé <asier.lostale <at> openbravo.com>
Date: Tue Mar 26 08:54:44 2019 +0100
URL: http://code.openbravo.com/erp/devel/pi/rev/b76c05056de57c435fa9f0d654dc22f9cd9eca24 [^]

related to bug 40303: improved DataEntityQueryService log for array params

---
M modules/org.openbravo.service.json/src/org/openbravo/service/json/DataEntityQueryService.java
---
(0110643)
alostale   
2019-03-26 08:57   
reviewed + tested
(0110872)
hudsonbot   
2019-03-28 14:56   
A changeset related to this issue has been promoted main and to the
Central Repository, after passing a series of tests.

Promotion changeset: https://code.openbravo.com/erp/devel/main/rev/b2fbc1588df4 [^]
Maturity status: Test
(0110890)
hudsonbot   
2019-03-28 14:56   
A changeset related to this issue has been promoted main and to the
Central Repository, after passing a series of tests.

Promotion changeset: https://code.openbravo.com/erp/devel/main/rev/b2fbc1588df4 [^]
Maturity status: Test