up previous next contents
Up: Use Cases Previous: List User Accounts Next: Delete a User Account   Contents


Edit User Account

This use case describes the process of editing a user account.

Notes

  1. Both of these use cases are the same regardless of whether security is enabled or disabled at the time the use case is invoked.

Actors

  1. Administrator
  2. External user

Pre-Conditions

  1. The user is logged into the system.

Basic Path: Administrator Edits User Account

  1. The Administrator lists the user accounts
  2. The Administrator selects the user account they want to modify and selects an Edit User Account option
  3. The system displays an "Edit User" screen, which contains the following fields in read/write mode:
    1. Required fields
      1. Username
      2. Password(repeated twice)
      3. Group
    2. Non-required fields
      1. First name
      2. Middle initial
      3. Last name
  4. The Administrator changes all desired fields and saves the changes
  5. The system validates:
    1. If the username has been changed
      1. If the username is not valid, the Administrator is notified of this and the change is not allowed
      2. If the new username is already in use, the Administrator is notified of this and the change is not allowed
    2. If the two passwords are not the same, the Administrator is notified of this and the change is not allowed
    3. If the two passwords are the same but are invalid, the Administrator is notified of this and the change is not allowed
  6. The system saves the changes

Post-Conditions

  1. Any user account field may be different
  2. If the username is changed, the new username should show on any reports that show this name
    1. If a job was initially created by "MarthaS" and the named was later changed to "MarthaT", "MarthaT" should be displayed on future reports
    2. Note to developers: This implies that we are storing the "user id" with the Job, and not the user name

Alternative Path #2, External User Changes Their Account Information

  1. The user lists the user accounts
  2. When the user selects their user account, the system enables the "Edit User Account" option
  3. The system displays an "Edit User" screen, which contains the following fields
    1. Read-only mode:
      1. Username
      2. Group
    2. Read/write mode:
      1. First name
      2. Middle initial
      3. Last name
  4. If the user wants to change their password they select a Change Password option
    1. The system prompts the user for:
      1. Their old password
      2. Their new password (twice)
    2. The user saves their password changes
    3. The system validates that the old password is correct
      1. If the old password is not correct, the system tells the user that it is not correct
      2. After clearing the message the user is returned to the Edit User Account screen
      3. All password fields in the Edit User Account screen are cleared
    4. The system validates that the two new passwords have been typed identically
      1. If this validation fails the user is given a message that the two passwords do not match
      2. After clearing the message the user is returned to the Edit User Account screen
      3. The two "new password" fields in the Edit User Account screen are cleared
    5. The system validates that the first of the new passwords meets length and character requirements
      1. If the new password does not meet these requirements, the user is given a message to that effect
      2. After clearing the message the user is returned to the Edit User Account screen
      3. The two "new password" fields in the Edit User Account screen are cleared
  5. The user changes any/all of the read/write fields, then selects the Save option
  6. The system updates the password and name fields in the database
  7. The system leaves the user at the List Users screen

Post-Conditions

  1. The user's password and/or name fields have been changed

Other Requirements