Anonymous | Login
Project:
RSS
  
News | My View | View Issues | Roadmap | Summary

View Issue DetailsJump to Notes ] Issue History ] Print ]
ID
0020665
TypeCategorySeverityReproducibilityDate SubmittedLast Update
defect[Openbravo ERP] B. User interfaceminoralways2012-06-01 22:012012-07-30 23:35
ReporternetworkbView Statuspublic 
Assigned Toalostale 
PriorityurgentResolutionfixedFixed in Version3.0MP14
StatusclosedFix in branchFixed in SCM revisionb6862b1e8f54
ProjectionnoneETAnoneTarget Version3.0MP14
OSAnyDatabaseAnyJava version
OS VersionDatabase versionAnt version
Product VersionpiSCM revision16731:0134da84e4cb 
Merge Request Status
Review Assigned To
OBNetwork customerOBPS
Web browserGoogle Chrome
ModulesUser Interface Application
Support ticket
Regression level
Regression date
Regression introduced in release
Regression introduced by commit
Triggers an Emergency PackNo
Summary

0020665: Field/tab access don't work for saved views by default

DescriptionIf 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.
TagsNo tags attached.
Attached Files

- Relationships Relation Graph ] Dependency Graph ]

-  Notes
(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

- Issue History
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
Powered by Mantis Bugtracker