Openbravo Issue Tracking System - Openbravo ERP
View Issue Details
0005538Openbravo ERP01. General setuppublic2008-10-15 16:192008-12-16 16:57
plujan 
gmauleon 
normalminorhave not tried
closedfixed 
5
pi 
 
Core
No
0005538: When using the Admin user created by Initial Client Setup the default role is Org access level
I create a client using the Initial Client Setup. The process creates two users, SampleClientAdmin and SampleClientUser, and two roles, "SampleClient Admin" and "SampleClient User".
Then, if I login with SampleClientUser user, I have by default the role "SampleClient User", but if I login with SampleClientAdmin, it has "SampleClient Admin" and "SampleClient User" roles, but it has by default "SampleClient User" too.
    * Login as Openbravo/openbravo
    * Click on icon "user info" and select the role "System Administrator"
    * Go General Setup -> Client-> Initial client setup
    * Fill the data and chart of accounts:
          # Client: SampleClient
          # Organization: Pamplona
          # Currency: Euro
          # Client Username: SampleClientAdmin (password will be the same as username)
          # Organization Username: SampleClientUser (password will be the same as username)
          # Country: Spain
          # Region: Navarra
          # City: Pamplona
          # Checked options: Business Partner, Product and Project
          # Accounting file: AccountsESOpenbravo_v2.35v2.zip
    * Click OK
Then, login using the two created users SampleClientAdmin and SampleClientUser
There are two solutions:
Is the "SampleClient User" role required for SampleClientAdmin? If only "SampleClient Admin" role is assigned to SampleClientAdmin, then the user could assign the other role by herself.

If both roles are required to be on creation, then the SampleClientAdmin should have "SampleClient Admin" by default.
No tags attached.
depends on backport 0005588 closed gmauleon When using the Admin user created by Initial Client Setup the default role is Org access level 
Issue History
2008-10-15 16:19plujanNew Issue
2008-10-15 16:19plujanAssigned To => cromero
2008-10-15 16:19plujansf_bug_id0 => 2168610
2008-10-15 16:19plujanRegression testing => No
2008-10-16 16:52gmauleonAssigned Tocromero => gmauleon
2008-10-20 11:34psarobeStatusnew => scheduled
2008-10-20 11:34psarobefix_in_branch => trunk
2008-11-10 09:40svnbotCheckin
2008-11-10 09:40svnbotNote Added: 0010130
2008-11-10 09:40svnbotStatusscheduled => resolved
2008-11-10 09:40svnbotResolutionopen => fixed
2008-11-10 09:40svnbotsvn_revision => 9822
2008-12-16 16:57psarobeStatusresolved => closed
2008-12-16 16:57psarobeNote Added: 0011429

Notes
(0010130)
svnbot   
2008-11-10 09:40   
Repository: openbravo
Revision: 9822
Author: gmauleon
Date: 2008-11-10 09:40:53 +0100 (Mon, 10 Nov 2008)

fixes 0005538: When using the Admin user created by Initial Client Setup the default role is Org access level. Now when the system admin creates a new user a default role is assigned in the column DEFAULT_AD_ROLE_ID

---
U trunk/src/org/openbravo/erpCommon/ad_forms/InitialClientSetup.java
U trunk/src/org/openbravo/erpCommon/ad_forms/InitialClientSetup_data.xsql
---

https://dev.openbravo.com/websvn/openbravo/?rev=9822&sc=1 [^]
(0011429)
psarobe   
2008-12-16 16:57   
That user is not created anymore (client user) because in 2.50, requirement have changed