[10780] | 1 | .. _label-uc-user-add: |
---|
| 2 | |
---|
[10781] | 3 | Add a User Account |
---|
[10780] | 4 | *********************************************************************** |
---|
| 5 | |
---|
| 6 | Short Description |
---|
| 7 | ----------------------------------------------------------------------- |
---|
| 8 | |
---|
| 9 | A user account and connected user data entities are added. |
---|
| 10 | |
---|
| 11 | Actor(s) |
---|
| 12 | ----------------------------------------------------------------------- |
---|
| 13 | |
---|
| 14 | Officer |
---|
| 15 | |
---|
| 16 | |
---|
| 17 | Trigger(s) |
---|
| 18 | ----------------------------------------------------------------------- |
---|
| 19 | |
---|
| 20 | - Imports (adding existing data) |
---|
| 21 | - Web form(s) submitted by authorized user |
---|
| 22 | |
---|
| 23 | |
---|
| 24 | Result(s) |
---|
| 25 | ----------------------------------------------------------------------- |
---|
| 26 | |
---|
| 27 | - A new user account was created in system with a new unique user ID. |
---|
| 28 | |
---|
| 29 | - The password has not been set. |
---|
| 30 | |
---|
| 31 | - Depending on the user role assigned, user data entities like |
---|
| 32 | 'Officer' or 'Customer' were automatically created. |
---|
| 33 | |
---|
| 34 | |
---|
| 35 | Incoming Data |
---|
| 36 | ----------------------------------------------------------------------- |
---|
| 37 | |
---|
| 38 | - Real name |
---|
| 39 | - Email address / mobile phone number |
---|
| 40 | |
---|
| 41 | |
---|
| 42 | Outgoing Data |
---|
| 43 | ----------------------------------------------------------------------- |
---|
| 44 | |
---|
| 45 | - Message about user account creation |
---|
| 46 | - Email to user about user account creation |
---|
| 47 | - Log message |
---|
| 48 | |
---|
| 49 | |
---|
| 50 | Precondition(s) |
---|
| 51 | ----------------------------------------------------------------------- |
---|
| 52 | |
---|
| 53 | - Submitting user must be authorized to perform the operation. |
---|
| 54 | |
---|
| 55 | |
---|
| 56 | Postcondition(s) |
---|
| 57 | ----------------------------------------------------------------------- |
---|
| 58 | |
---|
| 59 | - Anonymous user can use a 'Request Password' form to |
---|
| 60 | retrieve a new password which is being sent to the email address |
---|
| 61 | stored in the user account. This process is described in |
---|
| 62 | onther use case (to be added). |
---|
| 63 | |
---|
| 64 | |
---|
| 65 | Invariant(s) |
---|
| 66 | ----------------------------------------------------------------------- |
---|
| 67 | |
---|
| 68 | |
---|
| 69 | Essential Steps |
---|
| 70 | ----------------------------------------------------------------------- |
---|
| 71 | |
---|
| 72 | - System receives parameters specifying the user account to create. |
---|
| 73 | - System creates a unique user ID. |
---|
| 74 | - Passed in parameters are validated. |
---|
| 75 | - If passed-in parameters are invalid, user is offered a possibility |
---|
| 76 | to fix the invalid data. |
---|
| 77 | - System creates the new user account and connected user data entities. |
---|
| 78 | |
---|
| 79 | |
---|
| 80 | Open Issues |
---|
| 81 | ----------------------------------------------------------------------- |
---|
| 82 | |
---|
| 83 | |
---|
| 84 | |
---|
| 85 | Remarks |
---|
| 86 | ----------------------------------------------------------------------- |
---|
| 87 | |
---|
| 88 | |
---|
| 89 | .. raw:: latex |
---|
| 90 | |
---|
| 91 | \ |
---|