Project:
View Issue Details[ Jump to Notes ] | [ Issue History ] [ Print ] | |||||||
ID | ||||||||
0005588 | ||||||||
Type | Category | Severity | Reproducibility | Date Submitted | Last Update | |||
backport | [Openbravo ERP] 01. General setup | minor | have not tried | 2008-10-20 11:34 | 2008-12-10 21:14 | |||
Reporter | plujan | View Status | public | |||||
Assigned To | gmauleon | |||||||
Priority | normal | Resolution | fixed | Fixed in Version | ||||
Status | closed | Fix in branch | 2.40 | Fixed in SCM revision | 10469 | |||
Projection | none | ETA | none | Target Version | ||||
OS | Any | Database | Any | Java version | ||||
OS Version | Database version | Ant version | ||||||
Product Version | pi | SCM revision | ||||||
Merge Request Status | ||||||||
Review Assigned To | ||||||||
OBNetwork customer | No | |||||||
Web browser | ||||||||
Modules | Core | |||||||
Support ticket | ||||||||
Regression level | ||||||||
Regression date | ||||||||
Regression introduced in release | ||||||||
Regression introduced by commit | ||||||||
Triggers an Emergency Pack | No | |||||||
Summary | 0005588: When using the Admin user created by Initial Client Setup the default role is Org access level | |||||||
Description | 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. | |||||||
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 Solution | 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. | |||||||
Tags | No tags attached. | |||||||
Attached Files | ||||||||
![]() |
||||||||
|
![]() |
|
(0010139) svnbot (viewer) 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 (viewer) 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 (viewer) 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 (viewer) 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 (viewer) 2008-12-10 21:14 |
Now you have by default Sample Admin role |
![]() |
|||
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 |