Openbravo Issue Tracking System - Openbravo ERP
View Issue Details
0011654Openbravo ERPA. Platformpublic2009-12-07 11:492009-12-09 00:00
psarobe 
marvintm 
immediatecriticalalways
closedfixed 
5
 
2.50MP10 
Core
No
0011654: It's not possible to login or to change the role
You cannot login with a user that has no grant to a role different than System administrator.
But if you have a user that has grant to system administrator role and another one, you can login but then you cannot change it to the other one
Scenario 1: Can't login
==========
1. Login as Openbravo/openbravo
2. Go to initial client setup window. Create one
3. Try to login with the newly user. You can't

Scenario 2:
1. Login as Openbravo/openbravo
2. Change the role to a different than system administrator. You can't

No tags attached.
Issue History
2009-12-07 11:49psarobeNew Issue
2009-12-07 11:49psarobeAssigned To => rafaroda
2009-12-07 12:19psarobeStatusnew => scheduled
2009-12-07 12:19psarobeAssigned Torafaroda => marvintm
2009-12-07 12:19psarobefix_in_branch => pi
2009-12-07 12:48hgbotCheckin
2009-12-07 12:48hgbotNote Added: 0022475
2009-12-07 12:48hgbotStatusscheduled => resolved
2009-12-07 12:48hgbotResolutionopen => fixed
2009-12-07 12:48hgbotFixed in SCM revision => http://code.openbravo.com/erp/devel/pi/rev/a51a154ff19a3b182d335e9044ad1c6f92a8fba9 [^]
2009-12-08 10:58sureshbabuNote Added: 0022542
2009-12-08 10:58sureshbabuStatusresolved => closed
2009-12-08 10:58sureshbabuFixed in Version => 2.50MP10
2009-12-09 00:00anonymoussf_bug_id0 => 2911056

Notes
(0022475)
hgbot   
2009-12-07 12:48   
Repository: erp/devel/pi
Changeset: a51a154ff19a3b182d335e9044ad1c6f92a8fba9
Author: Antonio Moreno <antonio.moreno <at> openbravo.com>
Date: Mon Dec 07 12:48:16 2009 +0100
URL: http://code.openbravo.com/erp/devel/pi/rev/a51a154ff19a3b182d335e9044ad1c6f92a8fba9 [^]

Fixed issue 11654. Property safe.mode will now be always taken into account when checking available Roles, or when loging in.

---
M build.xml
M src/org/openbravo/base/secureApp/HttpSecureAppServlet.java
M src/org/openbravo/erpCommon/ad_forms/Role.java
---
(0022542)
sureshbabu   
2009-12-08 10:58   
Tested working fine, able to create client as well as able to change the role using Openbravo user.