1 | .. _label-uc-user-manage: |
---|
2 | |
---|
3 | Modify a User Account |
---|
4 | *********************************************************************** |
---|
5 | |
---|
6 | Short Description |
---|
7 | ----------------------------------------------------------------------- |
---|
8 | |
---|
9 | A user account and connected user data entities are modified by staff. |
---|
10 | |
---|
11 | Actor(s) |
---|
12 | ----------------------------------------------------------------------- |
---|
13 | |
---|
14 | Officer |
---|
15 | |
---|
16 | |
---|
17 | Trigger(s) |
---|
18 | ----------------------------------------------------------------------- |
---|
19 | |
---|
20 | - Imports (modifying existing data) |
---|
21 | - Web form(s) submitted by authorized user |
---|
22 | |
---|
23 | |
---|
24 | Result(s) |
---|
25 | ----------------------------------------------------------------------- |
---|
26 | |
---|
27 | - Data (name, email adress) of the given user account was modified. |
---|
28 | - If the role was changed, the connected user data entity was replaced. |
---|
29 | - Data of the new user data entity was added. |
---|
30 | |
---|
31 | |
---|
32 | Incoming Data |
---|
33 | ----------------------------------------------------------------------- |
---|
34 | |
---|
35 | - User ID, names and values of parameters to change |
---|
36 | |
---|
37 | Outgoing Data |
---|
38 | ----------------------------------------------------------------------- |
---|
39 | |
---|
40 | - Message about user account modification |
---|
41 | - Regarding users are informed by email or |
---|
42 | SMS. |
---|
43 | - Log message |
---|
44 | |
---|
45 | |
---|
46 | Precondition(s) |
---|
47 | ----------------------------------------------------------------------- |
---|
48 | |
---|
49 | - User ID must exist. |
---|
50 | - Submitting user must be authorized to perform the operation. |
---|
51 | |
---|
52 | |
---|
53 | Postcondition(s) |
---|
54 | ----------------------------------------------------------------------- |
---|
55 | |
---|
56 | |
---|
57 | Invariant(s) |
---|
58 | ----------------------------------------------------------------------- |
---|
59 | |
---|
60 | |
---|
61 | Essential Steps |
---|
62 | ----------------------------------------------------------------------- |
---|
63 | |
---|
64 | - System receives user ID and any optional parameters |
---|
65 | specifying the data to change in the user account. |
---|
66 | - Data is validated. |
---|
67 | - If passed-in parameters are invalid, user is offered a possibility |
---|
68 | to fix the invalid data. |
---|
69 | - System updates the given user account and connected data entities. |
---|
70 | |
---|
71 | |
---|
72 | Open Issues |
---|
73 | ----------------------------------------------------------------------- |
---|
74 | |
---|
75 | |
---|
76 | |
---|
77 | Remarks |
---|
78 | ----------------------------------------------------------------------- |
---|
79 | |
---|
80 | |
---|
81 | .. raw:: latex |
---|
82 | |
---|
83 | \ |
---|