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

View Issue DetailsJump to Notes ] Issue History ] Print ]
ID
0005588
TypeCategorySeverityReproducibilityDate SubmittedLast Update
backport[Openbravo ERP] 01. General setupminorhave not tried2008-10-20 11:342008-12-10 21:14
ReporterplujanView Statuspublic 
Assigned Togmauleon 
PrioritynormalResolutionfixedFixed in Version
StatusclosedFix in branch2.40Fixed in SCM revision10469
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

0005588: 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 ]
blocks defect 0005538 closedgmauleon When using the Admin user created by Initial Client Setup the default role is Org access level 

-  Notes
(0010139)
svnbot (reporter)
2008-11-10 11:05

Repository: openbravo
Revision: 9831
Author: gmauleon
Date: 2008-11-10 11:05:02 +0100 (Mon, 10 Nov 2008)

fixes 0005588: When using the Admin user created by Initial Client Setup the default role is Org access level . Now when the sytem admin creates a user a default role is assigned to it.

---
U branches/r2.40/src/org/openbravo/erpCommon/ad_forms/InitialClientSetup.java
U branches/r2.40/src/org/openbravo/erpCommon/ad_forms/InitialClientSetup_data.xsql
---

https://dev.openbravo.com/websvn/openbravo/?rev=9831&sc=1 [^]
(0010333)
svnbot (reporter)
2008-11-17 14:27

Repository: openbravo
Revision: 10151
Author: rafaroda
Date: 2008-11-17 14:26:58 +0100 (Mon, 17 Nov 2008)

Fixes bug 0005588 Made the fix PostgreSQL compatible.

---
U branches/r2.40/src/org/openbravo/erpCommon/ad_forms/InitialClientSetup_data.xsql
---

https://dev.openbravo.com/websvn/openbravo/?rev=10151&sc=1 [^]
(0010491)
svnbot (reporter)
2008-11-20 23:50

Repository: openbravo
Revision: 10380
Author: villind
Date: 2008-11-20 23:50:42 +0100 (Thu, 20 Nov 2008)

Merged r9831. fixes 0005588: When using the Admin user created by Initial Client Setup the default role is Org access level . Now when the sytem admin creates a user a default role is assigned to it.

---
_U branches/bonware/r2.40/
_U branches/bonware/r2.40/config/setup-tool/
_U branches/bonware/r2.40/eclipse.install.source.launch
_U branches/bonware/r2.40/export.database.launch
U branches/bonware/r2.40/src/org/openbravo/erpCommon/ad_forms/InitialClientSetup.java
U branches/bonware/r2.40/src/org/openbravo/erpCommon/ad_forms/InitialClientSetup_data.xsql
_U branches/bonware/r2.40/src-core/src/org/openbravo/database/OpenbravoDriverManagerConnectionFactory.java
_U branches/bonware/r2.40/update.database.launch
---

https://dev.openbravo.com/websvn/openbravo/?rev=10380&sc=1 [^]
(0010569)
svnbot (reporter)
2008-11-24 16:06

Repository: openbravo
Revision: 10469
Author: villind
Date: 2008-11-24 16:06:13 +0100 (Mon, 24 Nov 2008)

Merged r10151. Fixes bug 0005588 Made the fix PostgreSQL compatible.

---
_U branches/bonware/r2.40/
_U branches/bonware/r2.40/config/setup-tool/
_U branches/bonware/r2.40/eclipse.install.source.launch
_U branches/bonware/r2.40/export.database.launch
U branches/bonware/r2.40/src/org/openbravo/erpCommon/ad_forms/InitialClientSetup_data.xsql
_U branches/bonware/r2.40/src-core/src/org/openbravo/database/OpenbravoDriverManagerConnectionFactory.java
_U branches/bonware/r2.40/update.database.launch
---

https://dev.openbravo.com/websvn/openbravo/?rev=10469&sc=1 [^]
(0011164)
psarobe (manager)
2008-12-10 21:14

Now you have by default Sample Admin role

- Issue History
Date Modified Username Field Change
2008-10-20 11:34 psarobe New Issue
2008-10-20 11:34 psarobe Assigned To => gmauleon
2008-10-20 11:34 psarobe Status new => scheduled
2008-11-10 11:05 svnbot Checkin
2008-11-10 11:05 svnbot Note Added: 0010139
2008-11-10 11:05 svnbot Status scheduled => resolved
2008-11-10 11:05 svnbot Resolution open => fixed
2008-11-10 11:05 svnbot svn_revision => 9831
2008-11-17 14:27 svnbot Checkin
2008-11-17 14:27 svnbot Note Added: 0010333
2008-11-17 14:27 svnbot svn_revision 9831 => 10151
2008-11-20 23:50 svnbot Checkin
2008-11-20 23:50 svnbot Note Added: 0010491
2008-11-20 23:50 svnbot svn_revision 10151 => 10380
2008-11-24 16:06 svnbot Checkin
2008-11-24 16:06 svnbot Note Added: 0010569
2008-11-24 16:06 svnbot svn_revision 10380 => 10469
2008-12-10 21:14 psarobe Regression testing => No
2008-12-10 21:14 psarobe Status resolved => closed
2008-12-10 21:14 psarobe Note Added: 0011164


Copyright © 2000 - 2009 MantisBT Group
Powered by Mantis Bugtracker