Openbravo Issue Tracking System - Openbravo ERP
View Issue Details
0020057Openbravo ERPA. Platformpublic2012-03-20 11:242022-02-01 08:08
guilleaer 
Triage Platform Base 
highminorhave not tried
acknowledgedopen 
5
 
 
Core
No
0020057: When the menu is being generated, the code doesn't check the defined windows access rights for the role of the current user.
When one window is defined as writable in AD but defined as not editable (RO) for the current role the generated menu parameters for this menu entry doesn't take it into account.

When the windows starts to be drawn the engine doesn't know yet the access rights of the user. It needs to wait for the server response to retrieve this information (WindowsAccessData.java).

1. Logged as F&B International group admin
2. Go to role window
3. Using the window access tab, set the editable field of a window as NO. (E.g Return to vendor)
4. Log out and log in again
5. Using a developers tool, check the generated menuItem for the window in the aplicattion.js file (see attached image).
6. The field readonly is false and it should be true.
No tags attached.
related to defect 0017440 closed guilleaer Recent list shows '*' to create new for Tabs which have UIpattern 'read only' or 'single record' 
related to defect 0017441 closed guilleaer 'No data in grid. Create One' still shown when tab is writable in general but current user/role has only readonly access 
depends on design defect 0020059 acknowledged Triage Platform Base Menu caching design defects 
Not all the children of this issue are yet resolved or closed.
png Selección_045.png (95,416) 2012-03-20 11:24
https://issues.openbravo.com/file_download.php?file_id=5088&type=bug
png
Issue History
2012-03-20 11:24guilleaerNew Issue
2012-03-20 11:24guilleaerAssigned To => alostale
2012-03-20 11:24guilleaerFile Added: Selección_045.png
2012-03-20 11:24guilleaerModules => Core
2012-03-20 11:26guilleaerRelationship addedrelated to 0017440
2012-03-20 11:26guilleaerRelationship addedrelated to 0017441
2012-09-10 12:46alostaleRelationship addeddepends on 0020059
2012-09-24 20:48AugustoMauchNote Added: 0052385
2012-09-24 20:48AugustoMauchPrioritynormal => high
2012-09-24 20:48AugustoMauchStatusnew => scheduled
2017-03-31 14:36alostaleStatusscheduled => acknowledged
2017-04-10 14:33alostaleAssigned Toalostale => platform
2022-02-01 08:08alostaleAssigned Toplatform => Triage Platform Base

Notes
(0052385)
AugustoMauch   
2012-09-24 20:48   
Effort: 2
Impact: mid
Plan: short