Openbravo Issue Tracking System - Openbravo ERP
View Issue Details
0007002Openbravo ERPA. Platformpublic2009-01-19 15:212009-04-21 12:36
shuehner 
shuehner 
highmajorhave not tried
closedfixed 
5
pi 
 
Core
No
0007002: When changing from a not superuser role to a superuser role changing the role does not work
This is a copy of issue 6402 as the same problem does occur when a role is switched via a different codepath.
Create a new non admin role (new role, check manual, grant access to sales management,all) with name testA
add org *, main to org access
add the new role to the Openbravo user
change active role from Openbravo Admin -> testA
change active role from testA -> Openbravo Admin
a security warning is logged
No tags attached.
related to defect 0006402 closed shuehner After creating role in Test Case ID 994 userA cannot log in 
Issue History
2009-01-19 15:21shuehnerNew Issue
2009-01-19 15:21shuehnerAssigned To => shuehner
2009-01-19 15:21shuehnersf_bug_id0 => 2519905
2009-01-19 15:21shuehnerRegression testing => No
2009-01-19 15:22shuehnerRelationship addedrelated to 0006402
2009-01-19 17:13shuehnerProposed Solution updated
2009-01-19 17:13shuehnerStatusnew => acknowledged
2009-01-19 17:14svnbotCheckin
2009-01-19 17:14svnbotNote Added: 0012361
2009-01-19 17:14svnbotStatusacknowledged => resolved
2009-01-19 17:14svnbotResolutionopen => fixed
2009-01-19 17:14svnbotsvn_revision => 12017
2009-04-21 12:36psarobeStatusresolved => closed

Notes
(0012361)
svnbot   
2009-01-19 17:14   
Repository: openbravo
Revision: 12017
Author: huehner
Date: 2009-01-19 17:14:42 +0100 (Mon, 19 Jan 2009)

Fixed 7002
Move enableAdminMode calls from one caller of fillSessionArguments
inside the method, as it is called from a second place, too. This
enabled admin mode for all callers of the method.

---
U trunk/src/org/openbravo/base/secureApp/HttpSecureAppServlet.java
U trunk/src/org/openbravo/base/secureApp/LoginUtils.java
---

https://dev.openbravo.com/websvn/openbravo/?rev=12017&sc=1 [^]