This use case describes the process of editing a user account.
- Both of these use cases are the same regardless of whether security is enabled or disabled at the time the use case is invoked.
- Administrator
- External user
- The user is logged into the system.
- The Administrator lists the user accounts
- The Administrator selects the user account they want to modify and selects an Edit User Account option
- The system displays an "Edit User" screen, which contains the following fields in read/write mode:
- Required fields
- Username
- Password(repeated twice)
- Group
- Non-required fields
- First name
- Middle initial
- Last name
- The Administrator changes all desired fields and saves the changes
- The system validates:
- If the username has been changed
- If the username is not valid, the Administrator is notified of this and the change is not allowed
- If the new username is already in use, the Administrator is notified of this and the change is not allowed
- If the two passwords are not the same, the Administrator is notified of this and the change is not allowed
- If the two passwords are the same but are invalid, the Administrator is notified of this and the change is not allowed
- The system saves the changes
- Any user account field may be different
- If the username is changed, the new username should show on any reports that show this name
- If a job was initially created by "MarthaS" and the named was later changed to "MarthaT", "MarthaT" should be displayed on future reports
- Note to developers: This implies that we are storing the "user id" with the Job, and not the user name
- The user lists the user accounts
- When the user selects their user account, the system enables the "Edit User Account" option
- The system displays an "Edit User" screen, which contains the following fields
- Read-only mode:
- Username
- Group
- Read/write mode:
- First name
- Middle initial
- Last name
-
If the user wants to change their password they select a Change Password option
-
The system prompts the user for:
-
Their old password
-
Their new password (twice)
- The user saves their password changes
- The system validates that the old password is correct
- If the old password is not correct, the system tells the user that it is not correct
- After clearing the message the user is returned to the Edit User Account screen
- All password fields in the Edit User Account screen are cleared
- The system validates that the two new passwords have been typed identically
- If this validation fails the user is given a message that the two passwords do not match
- After clearing the message the user is returned to the Edit User Account screen
- The two "new password" fields in the Edit User Account screen are cleared
- The system validates that the first of the new passwords meets length and character requirements
- If the new password does not meet these requirements, the user is given a message to that effect
- After clearing the message the user is returned to the Edit User Account screen
- The two "new password" fields in the Edit User Account screen are cleared
- The user changes any/all of the read/write fields, then selects the Save option
- The system updates the password and name fields in the database
- The system leaves the user at the List Users screen
- The user's password and/or name fields have been changed
|
|