Openbravo Issue Tracking System - Openbravo ERP |
View Issue Details |
|
ID | Project | Category | View Status | Date Submitted | Last Update |
0023300 | Openbravo ERP | A. Platform | public | 2013-03-14 10:32 | 2013-03-26 16:39 |
|
Reporter | alostale | |
Assigned To | alostale | |
Priority | normal | Severity | minor | Reproducibility | N/A |
Status | closed | Resolution | fixed | |
Platform | | OS | 5 | OS Version | |
Product Version | | |
Target Version | 3.0MP22 | Fixed in Version | 3.0MP22 | |
Merge Request Status | |
Review Assigned To | dbaz |
OBNetwork customer | |
Web browser | |
Modules | Core |
Support ticket | |
Regression level | |
Regression date | |
Regression introduced in release | |
Regression introduced by commit | |
Triggers an Emergency Pack | No |
|
Summary | 0023300: Process to create portal users |
Description | Implement a process to create portal users. This process should grant them privilege to a portal role, generate a random password and send an email notifying the about all this.
Also when a user with access to a portal role is marked as inactive, he should be notified by email. |
Steps To Reproduce | - |
Proposed Solution | Implement this process to be invoked from Business Partner > Contact tab. |
Additional Information | |
Tags | Coworking |
Relationships | depends on | feature request | 0023299 | 3.0MP22 | closed | alostale | Send email on events | related to | defect | 0035158 | | closed | caristu | GrantPortalAccessProcess is invoking unbalanced calls to setAdminMode and restorePreviousMode |
|
Attached Files | |
|
Issue History |
Date Modified | Username | Field | Change |
2013-03-14 10:32 | alostale | New Issue | |
2013-03-14 10:32 | alostale | Assigned To | => alostale |
2013-03-14 10:32 | alostale | Modules | => Core |
2013-03-14 10:32 | alostale | Triggers an Emergency Pack | => No |
2013-03-14 10:33 | alostale | Relationship added | depends on 0023299 |
2013-03-14 10:33 | alostale | Review Assigned To | => dbaz |
2013-03-14 10:34 | alostale | Tag Attached: Coworking | |
2013-03-14 10:37 | alostale | Description Updated | bug_revision_view_page.php?rev_id=4502#r4502 |
2013-03-14 10:53 | hgbot | Checkin | |
2013-03-14 10:53 | hgbot | Note Added: 0057247 | |
2013-03-14 10:53 | hgbot | Status | new => resolved |
2013-03-14 10:53 | hgbot | Resolution | open => fixed |
2013-03-14 10:53 | hgbot | Fixed in SCM revision | => http://code.openbravo.com/erp/devel/pi/rev/79a1c9976d98c8e069288f31433d1086fa66d2e9 [^] |
2013-03-14 12:36 | hgbot | Checkin | |
2013-03-14 12:36 | hgbot | Note Added: 0057254 | |
2013-03-14 14:36 | hgbot | Checkin | |
2013-03-14 14:36 | hgbot | Note Added: 0057257 | |
2013-03-25 08:14 | hgbot | Checkin | |
2013-03-25 08:14 | hgbot | Note Added: 0057396 | |
2013-03-25 09:00 | hgbot | Checkin | |
2013-03-25 09:00 | hgbot | Note Added: 0057397 | |
2013-03-25 14:12 | hgbot | Checkin | |
2013-03-25 14:12 | hgbot | Note Added: 0057417 | |
2013-03-25 16:57 | dbaz | Note Added: 0057444 | |
2013-03-25 17:07 | dbaz | Note Added: 0057445 | |
2013-03-25 17:08 | dbaz | Note Added: 0057446 | |
2013-03-25 17:08 | dbaz | Status | resolved => closed |
2013-03-25 17:08 | dbaz | Fixed in Version | => 3.0MP22 |
2013-03-26 16:39 | hudsonbot | Checkin | |
2013-03-26 16:39 | hudsonbot | Note Added: 0057464 | |
2013-03-26 16:39 | hudsonbot | Checkin | |
2013-03-26 16:39 | hudsonbot | Note Added: 0057465 | |
2013-03-26 16:39 | hudsonbot | Checkin | |
2013-03-26 16:39 | hudsonbot | Note Added: 0057470 | |
2017-02-03 13:27 | caristu | Relationship added | related to 0035158 |
Notes |
|
(0057247)
|
hgbot
|
2013-03-14 10:53
|
|
Repository: erp/devel/pi
Changeset: 79a1c9976d98c8e069288f31433d1086fa66d2e9
Author: Asier Lostalé <asier.lostale <at> openbravo.com>
Date: Thu Mar 14 10:39:08 2013 +0100
URL: http://code.openbravo.com/erp/devel/pi/rev/79a1c9976d98c8e069288f31433d1086fa66d2e9 [^]
fixed issue 23300: Process to create portal users
New process to grant portal access to users
When a portal user is deactivated, an email is sent
---
M src-db/database/model/tables/AD_USER.xml
M src-db/database/sourcedata/AD_AUXILIARINPUT.xml
M src-db/database/sourcedata/AD_COLUMN.xml
M src-db/database/sourcedata/AD_ELEMENT.xml
M src-db/database/sourcedata/AD_FIELD.xml
M src-db/database/sourcedata/AD_MESSAGE.xml
M src-db/database/sourcedata/AD_REFERENCE.xml
M src-db/database/sourcedata/AD_REF_LIST.xml
M src-db/database/sourcedata/OBUIAPP_PARAMETER.xml
M src-db/database/sourcedata/OBUIAPP_PROCESS.xml
M src-db/database/sourcedata/OBUISEL_SELECTOR.xml
A src-db/database/sourcedata/OBCLKER_TEMPLATE.xml
A src/org/openbravo/portal/AccountCancelledEmailBody.java
A src/org/openbravo/portal/AccountCancelledEmailGenerator.java
A src/org/openbravo/portal/AccountChangeObserver.java
A src/org/openbravo/portal/GrantPortalAccessProcess.java
A src/org/openbravo/portal/NewUserEmailBody.java
A src/org/openbravo/portal/NewUserEmailGenerator.java
A src/org/openbravo/portal/PortalEmailBody.java
A src/org/openbravo/portal/templates/email-account-cancelled.ftl
A src/org/openbravo/portal/templates/email-new-user.ftl
---
|
|
|
(0057254)
|
hgbot
|
2013-03-14 12:36
|
|
|
|
(0057257)
|
hgbot
|
2013-03-14 14:36
|
|
|
|
(0057396)
|
hgbot
|
2013-03-25 08:14
|
|
Repository: erp/devel/pi
Changeset: 1edba90e26f3afa10e79c9d2a2a7506ef5eca81f
Author: Asier Lostalé <asier.lostale <at> openbravo.com>
Date: Mon Mar 25 08:11:58 2013 +0100
URL: http://code.openbravo.com/erp/devel/pi/rev/1edba90e26f3afa10e79c9d2a2a7506ef5eca81f [^]
realated to issue 23300
-In case of error in the process rollback so no err 500 is produced in the
request and the message can be seen in UI
-Changed severity and message in case of process failure
-Force organization * for the new user-role row
---
M src/org/openbravo/portal/GrantPortalAccessProcess.java
---
|
|
|
(0057397)
|
hgbot
|
2013-03-25 09:00
|
|
|
|
(0057417)
|
hgbot
|
2013-03-25 14:12
|
|
|
|
(0057444)
|
dbaz
|
2013-03-25 16:57
|
|
Test case:
* As Openbravo Admin, go to "Client" and configure a valid email
* Go to "User" and put a email address to the user "Luis Rodriguez"
* Go to "Role", and to the role "F&B España, S.A - Employee" mark the "For Portal Users" flag
* Go to "Business Partner", choose "Alimentos y Supermercados, S.A", and in its child tab "Contact", choose "Luis Rodriguez" and click "Grant Portal Access" button
* In the shown Popup choose the Portal Role "F&B España, S.A - Employee" and click "Done".
Check that do you have an email (in the email set in the second bullet) with the user and password |
|
|
(0057445)
|
dbaz
|
2013-03-25 17:07
|
|
Test case 2:
* As Openbravo Admin, go to "Client" and configure a valid email
* Go to "Role", and to the role "F&B España, S.A - Employee" mark the "For Portal Users" flag
* Go to "Business Partner", choose "Alimentos y Supermercados, S.A", and in its child tab "Contact", create new record with the desired data (the email is very important, since there is going to be sent the confirmation info)
* In the shown Popup choose the Portal Role "F&B España, S.A - Employee" and click "Done".
Check that do you have an email with the user and password |
|
|
(0057446)
|
dbaz
|
2013-03-25 17:08
|
|
Reviewed @ changeset: 19997 - 05f84268a2a6 |
|
|
|
|
|
|
|
|
|
|