Openbravo Issue Tracking System - Openbravo ERP
View Issue Details
0002028Openbravo ERPC. Securitypublic2007-10-01 12:142008-06-12 09:43
alostale 
iperdomo 
normalminoralways
closedfixed 
5
 
2.35 
No
Core
No
0002028: Not possible to login as System Admin as default
Env:2.34

When default role is set as System Admin it is not possible to re-login.

It seems there're problem with the defaults. They way it should work is try to login with the defaults and in case it is not possible it should select one of the possible roles to access. So if a user has at least one combination of valid client/org/role/warehouse it should be able to access regardless it is set as default.


Work arround:
Execute this script in DB in order to remove defaults:

update ad_user
   set default_ad_org_id=null,
       default_ad_role_id=null,
       default_m_warehouse_id=null
 where username='Openbravo';
No tags attached.
Issue History

Notes
(0005617)
user71   
2005-06-01 00:00   
(edited on: 2008-06-12 09:43)
This bug was originally reported in SourceForge bug tracker and then migrated to Mantis.

You can see the original bug report in:
https://sourceforge.net/support/tracker.php?aid=1805545 [^]
(0002258)
user71   
2007-10-04 02:13   
(edited on: 2008-06-12 09:22)
Logged In: YES
user_id=1737231
Originator: NO

I have logged another related bug which will also show similar behaviour
http://sourceforge.net/tracker/index.php?func=detail&aid=1806707&group_id=162271&atid=823129 [^]
(0002259)
rafaroda   
2007-10-23 17:02   
(edited on: 2008-06-12 09:22)
Logged In: YES
user_id=1892190
Originator: NO

Verification assigned to rafaroda.