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

View Issue DetailsJump to Notes ] Issue History ] Print ]
ID
0023300
TypeCategorySeverityReproducibilityDate SubmittedLast Update
feature request[Openbravo ERP] A. PlatformminorN/A2013-03-14 10:322013-03-26 16:39
ReporteralostaleView Statuspublic 
Assigned Toalostale 
PrioritynormalResolutionfixedFixed in Version3.0MP22
StatusclosedFix in branchFixed in SCM revision79a1c9976d98
ProjectionnoneETAnoneTarget Version3.0MP22
OSAnyDatabaseAnyJava version
OS VersionDatabase versionAnt version
Product VersionSCM revision 
Review Assigned Todbaz
Web browser
ModulesCore
Regression level
Regression date
Regression introduced in release
Regression introduced by commit
Triggers an Emergency PackNo
Summary

0023300: Process to create portal users

DescriptionImplement 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 SolutionImplement this process to be invoked from Business Partner > Contact tab.
TagsCoworking
Attached Files

- Relationships Relation Graph ] Dependency Graph ]
depends on feature request 00232993.0MP22 closedalostale Send email on events 
related to defect 0035158 closedcaristu GrantPortalAccessProcess is invoking unbalanced calls to setAdminMode and restorePreviousMode 

-  Notes
(0057247)
hgbot (developer)
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 (developer)
2013-03-14 12:36

Repository: erp/devel/pi
Changeset: dfa7c8ea1366a305d7ada71bbf006fc16eb5da72
Author: Asier Lostalé <asier.lostale <at> openbravo.com>
Date: Thu Mar 14 12:36:22 2013 +0100
URL: http://code.openbravo.com/erp/devel/pi/rev/dfa7c8ea1366a305d7ada71bbf006fc16eb5da72 [^]

related to issue 23300, fixes build int-full-pgsql 4626

---
M src-db/database/sourcedata/referencedData/AD_USER.xml
---
(0057257)
hgbot (developer)
2013-03-14 14:36

Repository: erp/devel/pi
Changeset: b87d5fc8c3529798c2bc50f245e2d6803c6d5b17
Author: Asier Lostalé <asier.lostale <at> openbravo.com>
Date: Thu Mar 14 14:36:21 2013 +0100
URL: http://code.openbravo.com/erp/devel/pi/rev/b87d5fc8c3529798c2bc50f245e2d6803c6d5b17 [^]

related to issue 23300, added onCreateDefault

---
M src-db/database/model/tables/AD_USER.xml
---
(0057396)
hgbot (developer)
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 (developer)
2013-03-25 09:00

Repository: erp/devel/pi
Changeset: 1bde37da0a01beaa81cba0fe9e80b6a10fcf2f14
Author: Asier Lostalé <asier.lostale <at> openbravo.com>
Date: Mon Mar 25 08:59:38 2013 +0100
URL: http://code.openbravo.com/erp/devel/pi/rev/1bde37da0a01beaa81cba0fe9e80b6a10fcf2f14 [^]

realated to issue 23300: added missing import

---
M src/org/openbravo/portal/GrantPortalAccessProcess.java
---
(0057417)
hgbot (developer)
2013-03-25 14:12

Repository: erp/devel/pi
Changeset: e3b29ef25597eb5d625bee4ede034d96779a3b12
Author: Asier Lostalé <asier.lostale <at> openbravo.com>
Date: Mon Mar 25 14:11:09 2013 +0100
URL: http://code.openbravo.com/erp/devel/pi/rev/e3b29ef25597eb5d625bee4ede034d96779a3b12 [^]

realated to issue 23300: portal user name is set as email

---
M src/org/openbravo/portal/GrantPortalAccessProcess.java
---
(0057444)
dbaz (developer)
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 (developer)
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 (developer)
2013-03-25 17:08

Reviewed @ changeset: 19997 - 05f84268a2a6
(0057464)
hudsonbot (developer)
2013-03-26 16:39

A changeset related to this issue has been promoted main and to the
Central Repository, after passing a series of tests.

Promotion changeset: https://code.openbravo.com/erp/devel/main/rev/2d2b0f1dddcd [^]

Maturity status: Test
(0057465)
hudsonbot (developer)
2013-03-26 16:39

A changeset related to this issue has been promoted main and to the
Central Repository, after passing a series of tests.

Promotion changeset: https://code.openbravo.com/erp/devel/main/rev/2d2b0f1dddcd [^]

Maturity status: Test
(0057470)
hudsonbot (developer)
2013-03-26 16:39

A changeset related to this issue has been promoted main and to the
Central Repository, after passing a series of tests.

Promotion changeset: https://code.openbravo.com/erp/devel/main/rev/2d2b0f1dddcd [^]

Maturity status: Test

- 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 View Revisions
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


Copyright © 2000 - 2009 MantisBT Group
Powered by Mantis Bugtracker