Openbravo Issue Tracking System - Openbravo ERP
View Issue Details
0016344Openbravo ERPA. Platformpublic2011-03-17 09:422011-04-08 00:00
iperdomo 
gorkaion 
urgentminoralways
closedfixed 
202.6.35-gentoo-r12
 
3.0RC6 
Core
No
0016344: The list of available widgets should be filtered by the role you are managing
If you try to use 'Admin Others' by Role level. The available widgets is using the role of the logged user instead of the role you're modifying.
* Using Openbravo user / F&B Group Admin
* Grant the Openbravo user to 'admin' the F&B User role
* Remove from F&B User role, access to some X widget
* In the Workspace tab, Click 'Admin Others'
* Pick Role level - F&B User role
* In the 'Add Widget' list, you'll see that the X widget shows up - this is because is filtering using the OBContext of the logged user
* The GET_AVAILABLE_CLASSES event should filter by the Role that the user is managing
No tags attached.
Issue History
2011-03-17 09:42iperdomoNew Issue
2011-03-17 09:42iperdomoAssigned To => gorkaion
2011-03-17 09:42iperdomoModules => Core
2011-03-17 10:00roklenardicIssue Monitored: roklenardic
2011-04-04 13:43hgbotCheckin
2011-04-04 13:43hgbotNote Added: 0035546
2011-04-04 13:43hgbotStatusnew => resolved
2011-04-04 13:43hgbotResolutionopen => fixed
2011-04-04 13:43hgbotFixed in SCM revision => http://code.openbravo.com/erp/devel/pi/rev/641d3ed2b9798eb0e7ef97a9c1a1aac2206fbfe6 [^]
2011-04-07 12:32iperdomoNote Added: 0035717
2011-04-07 12:32iperdomoStatusresolved => closed
2011-04-08 00:00anonymoussf_bug_id0 => 3279897

Notes
(0035546)
hgbot   
2011-04-04 13:43   
Repository: erp/devel/pi
Changeset: 641d3ed2b9798eb0e7ef97a9c1a1aac2206fbfe6
Author: Gorka Ion Damián <gorkaion.damian <at> openbravo.com>
Date: Mon Apr 04 13:40:30 2011 +0200
URL: http://code.openbravo.com/erp/devel/pi/rev/641d3ed2b9798eb0e7ef97a9c1a1aac2206fbfe6 [^]

Fixed issue 16344.Properly filter available available widgets on admin mode for roles.

---
M modules/org.openbravo.client.myob/src/org/openbravo/client/myob/MyOpenbravoActionHandler.java
M modules/org.openbravo.client.myob/src/org/openbravo/client/myob/MyOpenbravoComponent.java
M modules/org.openbravo.client.myob/web/org.openbravo.client.myob/js/ob-myopenbravo.js
---
(0035717)
iperdomo   
2011-04-07 12:32   
Tested on pi @ rev d8cc7fbe4988