Anonymous | Login
Project:
RSS
  
News | My View | View Issues | Roadmap | Summary

View Issue DetailsJump to Notes ] Issue History ] Print ]
ID
0005538
TypeCategorySeverityReproducibilityDate SubmittedLast Update
defect[Openbravo ERP] 01. General setupminorhave not tried2008-10-15 16:192008-12-16 16:57
ReporterplujanView Statuspublic 
Assigned Togmauleon 
PrioritynormalResolutionfixedFixed in Version
StatusclosedFix in branchpiFixed in SCM revision9822
ProjectionnoneETAnoneTarget Version
OSAnyDatabaseAnyJava version
OS VersionDatabase versionAnt version
Product VersionpiSCM revision 
Review Assigned To
Web browser
ModulesCore
Regression level
Regression date
Regression introduced in release
Regression introduced by commit
Triggers an Emergency PackNo
Summary

0005538: When using the Admin user created by Initial Client Setup the default role is Org access level

DescriptionI 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.
Steps To Reproduce    * 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
Proposed SolutionThere 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.
TagsNo tags attached.
Attached Files

- Relationships Relation Graph ] Dependency Graph ]
depends on backport 0005588 closedgmauleon When using the Admin user created by Initial Client Setup the default role is Org access level 

-  Notes
(0010130)
svnbot (reporter)
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 (manager)
2008-12-16 16:57

That user is not created anymore (client user) because in 2.50, requirement have changed

- Issue History
Date Modified Username Field Change
2008-10-15 16:19 plujan New Issue
2008-10-15 16:19 plujan Assigned To => cromero
2008-10-15 16:19 plujan sf_bug_id 0 => 2168610
2008-10-15 16:19 plujan Regression testing => No
2008-10-16 16:52 gmauleon Assigned To cromero => gmauleon
2008-10-20 11:34 psarobe Status new => scheduled
2008-10-20 11:34 psarobe fix_in_branch => trunk
2008-11-10 09:40 svnbot Checkin
2008-11-10 09:40 svnbot Note Added: 0010130
2008-11-10 09:40 svnbot Status scheduled => resolved
2008-11-10 09:40 svnbot Resolution open => fixed
2008-11-10 09:40 svnbot svn_revision => 9822
2008-12-16 16:57 psarobe Status resolved => closed
2008-12-16 16:57 psarobe Note Added: 0011429


Copyright © 2000 - 2009 MantisBT Group
Powered by Mantis Bugtracker