Project:
View Issue Details[ Jump to Notes ] | [ Issue History ] [ Print ] | |||||||
ID | ||||||||
0020665 | ||||||||
Type | Category | Severity | Reproducibility | Date Submitted | Last Update | |||
defect | [Openbravo ERP] B. User interface | minor | always | 2012-06-01 22:01 | 2012-07-30 23:35 | |||
Reporter | networkb | View Status | public | |||||
Assigned To | alostale | |||||||
Priority | urgent | Resolution | fixed | Fixed in Version | 3.0MP14 | |||
Status | closed | Fix in branch | Fixed in SCM revision | b6862b1e8f54 | ||||
Projection | none | ETA | none | Target Version | 3.0MP14 | |||
OS | Any | Database | Any | Java version | ||||
OS Version | Database version | Ant version | ||||||
Product Version | pi | SCM revision | 16731:0134da84e4cb | |||||
Merge Request Status | ||||||||
Review Assigned To | ||||||||
OBNetwork customer | OBPS | |||||||
Web browser | Google Chrome | |||||||
Modules | User Interface Application | |||||||
Support ticket | ||||||||
Regression level | ||||||||
Regression date | ||||||||
Regression introduced in release | ||||||||
Regression introduced by commit | ||||||||
Triggers an Emergency Pack | No | |||||||
Summary | 0020665: Field/tab access don't work for saved views by default | |||||||
Description | If you have a saved customized view for a window and you set this view as default, when you try to access this window the field/tab access permission for that role are no being applied. | |||||||
Steps To Reproduce | - Log in as Client Admin - Go to Role window and select a Role (Role X). - Go to Window Access tab (select Sales Order i.e) and check editable field - Go to Tab Access tab (select or create a new record for header tab i.e) and leave checked editable field - Go to Field Access and select or create a new record (warehouse i.e) and check editable field. This configuration means that Role X can't edit any field of Sales Order header tab except the warehouse. - Log in as Role X - Go to Sales Order window - Tab Header. - Create a new record and see that you only can modify warehouse field (so you can't save the record, it's ok) - Go to grid mode, add a new column to the grid and save the new view (view name: TEST). - You can see, all is working properly, if you are in TEST view, you try to create a new record and it's working properly. - Now, set TEST as default view and close Sales Order window. - Open Sales order window again and create a new record in form view. - See that all the fields are accessible! is no applying AD_FIELD_ACCESS rules. It should apply the rules even if you select a new view as default for this window. | |||||||
Tags | No tags attached. | |||||||
Attached Files | ||||||||
![]() |
|
![]() |
|
(0050189) jonalegriaesarte (viewer) 2012-06-27 13:03 |
Scheduled to MP14 |
(0050974) hgbot (developer) 2012-07-29 18:07 |
Repository: erp/devel/pi Changeset: b6862b1e8f54a76ac9c97d2a3e57299372e73b77 Author: Augusto Mauch <augusto.mauch <at> openbravo.com> Date: Sun Jul 29 18:07:15 2012 +0200 URL: http://code.openbravo.com/erp/devel/pi/rev/b6862b1e8f54a76ac9c97d2a3e57299372e73b77 [^] Fixes issue 20665: Field access works with saved views Changed the access to the tab fields. Instead of accessing directly to the fields property, now the access is done through the getFields() function. --- M modules/org.openbravo.client.application/web/org.openbravo.client.application/js/main/ob-standard-window.js --- |
(0050980) guilleaer (viewer) 2012-07-30 11:53 |
Code reviewed and tested in pi@b6862b1e8f54 |
(0051019) hudsonbot (viewer) 2012-07-30 23:35 |
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/1555c04652b7 [^] Maturity status: Test |
![]() |
|||
Date Modified | Username | Field | Change |
2012-06-01 22:01 | networkb | New Issue | |
2012-06-01 22:01 | networkb | Assigned To | => dbaz |
2012-06-01 22:01 | networkb | Web browser | => Google Chrome |
2012-06-01 22:01 | networkb | Modules | => User Interface Application |
2012-06-01 22:01 | networkb | OBNetwork customer | => Yes |
2012-06-04 08:40 | mtaal | Assigned To | dbaz => mtaal |
2012-06-04 09:33 | alostale | Assigned To | mtaal => alostale |
2012-06-25 16:38 | szapata | Issue Monitored: szapata | |
2012-06-26 17:08 | jonalegriaesarte | Web browser | Google Chrome => Google Chrome |
2012-06-26 17:08 | jonalegriaesarte | Target Version | => 3.0MP14 |
2012-06-27 13:03 | jonalegriaesarte | Web browser | Google Chrome => Google Chrome |
2012-06-27 13:03 | jonalegriaesarte | Note Added: 0050189 | |
2012-06-27 13:03 | jonalegriaesarte | Severity | major => minor |
2012-07-29 18:07 | hgbot | Checkin | |
2012-07-29 18:07 | hgbot | Note Added: 0050974 | |
2012-07-29 18:07 | hgbot | Status | new => resolved |
2012-07-29 18:08 | hgbot | Resolution | open => fixed |
2012-07-29 18:08 | hgbot | Fixed in SCM revision | => http://code.openbravo.com/erp/devel/pi/rev/b6862b1e8f54a76ac9c97d2a3e57299372e73b77 [^] |
2012-07-30 11:53 | guilleaer | Note Added: 0050980 | |
2012-07-30 11:53 | guilleaer | Status | resolved => closed |
2012-07-30 11:53 | guilleaer | Fixed in Version | => 3.0MP14 |
2012-07-30 23:35 | hudsonbot | Checkin | |
2012-07-30 23:35 | hudsonbot | Note Added: 0051019 |
Copyright © 2000 - 2009 MantisBT Group |