Openbravo Issue Tracking System - Openbravo ERP |
View Issue Details |
|
ID | Project | Category | View Status | Date Submitted | Last Update |
0017441 | Openbravo ERP | A. Platform | public | 2011-05-31 17:45 | 2012-04-02 06:11 |
|
Reporter | shuehner | |
Assigned To | guilleaer | |
Priority | normal | Severity | major | Reproducibility | have not tried |
Status | closed | Resolution | fixed | |
Platform | | OS | 5 | OS Version | |
Product Version | | |
Target Version | | Fixed in Version | 3.0MP10 | |
Merge Request Status | |
Review Assigned To | |
OBNetwork customer | |
Web browser | |
Modules | Core |
Support ticket | |
Regression level | |
Regression date | |
Regression introduced in release | |
Regression introduced by commit | |
Triggers an Emergency Pack | No |
|
Summary | 0017441: 'No data in grid. Create One' still shown when tab is writable in general but current user/role has only readonly access |
Description | Issue 17254 fixed the case in which the tab is marked as SR or RO in AD. But does not yet take into account the access of current role to the tab as that info is processed later then needed (only in setWindowSettings) which is too late for the following two uses:
- context menu shown in empty grid
- 'Create one' versus just no data in grid on empty grid
|
Steps To Reproduce | |
Proposed Solution | |
Additional Information | |
Tags | No tags attached. |
Relationships | 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 | 0016841 | 3.0MP0 | closed | shuehner | It is possible to click New in Audit Trail | related to | design defect | 0020057 | | acknowledged | Triage Platform Base | When the menu is being generated, the code doesn't check the defined windows access rights for the role of the current user. | related to | defect | 0028761 | 3.0PR15Q2 | closed | inigosanchez | Navigate to read only logic tab does not work an empty tab is displayed |
|
Attached Files | |
|
Issue History |
Date Modified | Username | Field | Change |
2011-05-31 17:45 | shuehner | New Issue | |
2011-05-31 17:45 | shuehner | Assigned To | => alostale |
2011-05-31 17:45 | shuehner | Modules | => Core |
2011-05-31 17:51 | shuehner | Relationship added | related to 0016841 |
2011-05-31 18:14 | shuehner | Note Added: 0037841 | |
2011-06-02 07:09 | thirumalaik | Issue Monitored: thirumalaik | |
2011-08-05 10:09 | alostale | Relationship added | related to 0017440 |
2011-08-05 10:10 | alostale | Status | new => scheduled |
2011-08-05 10:10 | alostale | Assigned To | alostale => thirumalaik |
2011-08-05 10:10 | alostale | fix_in_branch | => pi |
2012-03-14 16:41 | alostale | Assigned To | thirumalaik => guilleaer |
2012-03-20 11:26 | guilleaer | Relationship added | related to 0020057 |
2012-03-20 18:23 | hgbot | Checkin | |
2012-03-20 18:23 | hgbot | Note Added: 0046573 | |
2012-03-20 18:23 | hgbot | Status | scheduled => resolved |
2012-03-20 18:23 | hgbot | Resolution | open => fixed |
2012-03-20 18:23 | hgbot | Fixed in SCM revision | => http://code.openbravo.com/erp/devel/pi/rev/bc316c32fa2b4f182b4c296a21ac8269476e31c1 [^] |
2012-03-21 09:05 | guilleaer | Note Added: 0046576 | |
2012-03-21 11:58 | hgbot | Checkin | |
2012-03-21 11:58 | hgbot | Note Added: 0046586 | |
2012-03-23 14:57 | alostale | Note Added: 0046697 | |
2012-03-23 14:57 | alostale | Status | resolved => closed |
2012-03-23 14:57 | alostale | Fixed in Version | => 3.0MP10 |
2012-04-02 06:11 | hudsonbot | Checkin | |
2012-04-02 06:11 | hudsonbot | Note Added: 0047177 | |
2012-04-02 06:11 | hudsonbot | Checkin | |
2012-04-02 06:11 | hudsonbot | Note Added: 0047184 | |
2015-02-19 10:07 | inigosanchez | Relationship added | related to 0028761 |
Notes |
|
|
Note one idea is to perhaps add writable flag to OB.Accessibleentities (from application-dynamic.js) which is already loaded. That way the info could be reused also to fix 17440. |
|
|
(0046573)
|
hgbot
|
2012-03-20 18:23
|
|
Repository: erp/devel/pi
Changeset: bc316c32fa2b4f182b4c296a21ac8269476e31c1
Author: Guillermo Álvarez de Eulate <guillermo.alvarez <at> openbravo.com>
Date: Tue Mar 20 18:22:28 2012 +0100
URL: http://code.openbravo.com/erp/devel/pi/rev/bc316c32fa2b4f182b4c296a21ac8269476e31c1 [^]
Fixed issue 17441: 'Create one' is not shown when the user role has readonly access
When user try to use one window which has been defined as readonly using the role windows access rights, the 'create one' message is not shown. Also, the right click of the mouse has been disabled to avoid the creation of new lines.
---
M modules/org.openbravo.client.application/web/org.openbravo.client.application/js/grid/ob-view-grid.js
M modules/org.openbravo.client.application/web/org.openbravo.client.application/js/main/ob-standard-window.js
---
|
|
|
|
Test plan:
1. Logged as F&B International Group Admin - F&B International Group
2. Go to role window and set one window as Non editable for a specific role. E.g (Return to vendor)
3. Using this role, go to the window
4. If data doesn't exists, yo should see the message without the text "create one" (probably you will need to remove the filter before the message is shown) and the right click of the mouse should be disabled.
5. Using another window with data and defined as Non Editable (E.g. Role) you should be able to use the right click in cells without the 'new line' options
This fix is not risky |
|
|
(0046586)
|
hgbot
|
2012-03-21 11:58
|
|
Repository: erp/devel/pi
Changeset: 60a3b45a21d4891259504c2e2d3be331d0910893
Author: Guillermo Álvarez de Eulate <guillermo.alvarez <at> openbravo.com>
Date: Wed Mar 21 11:57:13 2012 +0100
URL: http://code.openbravo.com/erp/devel/pi/rev/60a3b45a21d4891259504c2e2d3be331d0910893 [^]
Related to issue 17441: Preventing a wrong disabling of context menu in editable grids
---
M modules/org.openbravo.client.application/web/org.openbravo.client.application/js/grid/ob-view-grid.js
M modules/org.openbravo.client.application/web/org.openbravo.client.application/js/main/ob-standard-view.js
M modules/org.openbravo.client.application/web/org.openbravo.client.application/js/main/ob-standard-window.js
---
|
|
|
|
core reviewed and verified on pi@5acb2f2f3505 |
|
|
|
|
|
|
|