This use case describes the process of deleting a user account from the system.
- Administrator
- The Administrator is logged into the system.
- The Administrator selects a "List User Accounts" option
- The Administrator selects one user from the list, and then chooses an option to delete that user account
- If the user has any job locks the Administrator is informed "The user has the following jobs locked, and the user account cannot be deleted at this time", followed by a list of jobs and job modules that are locked
- Show the username, job short description, module, and lock
date/time
-
The system offers the option of deleting all job locks at this time
-
The Administrator selects the option to clear all job locks
-
continue
- Else, continue
- The system prompts with an "Are you sure?" message
- If the Administrator replies "Yes, I am sure"
- The system deletes the user account from the database
- The user account is deleted from the database
- In the future, when any jobs are listed or opened that this user created, those jobs should be displayed as being owned by Unknown User
- The Administrator selects a "List User Accounts" option
- The Administrator selects two or more users from the list, and then chooses an option to delete those user accounts
- The system prompts with a message: "You are about to delete the following user accounts, are you sure?"
- If the Administrator replies by canceling the operation, the use case stops here
- Else, if the Administrator replies "Yes, I am sure"
-
All user accounts that do not have jobs locked at this time are deleted
-
If any user accounts have job locks, the Administrator is informed "The following users have jobs locked.
Would you like to clear their job locks and delete their user accounts?
, and their user accounts cannot be deleted at this time", followed by a list of jobs and job modules that are locked by the remaining users
- Show the username, job short description, module, and lock timestamp
-
The Administrator selects the option to clear all job locks and delete the user accounts
-
The system prompts with an "Are you sure?" message
-
If the Administrator replies "Yes, I am sure"
-
The system deletes the user account from the database
- User accounts
that did not have jobs locked are removed from the system
-
After the completion of this use case, when any jobs are listed or opened that this user created, those jobs should be displayed as being owned by Unknown User
- List User Accounts
- The Administrator account cannot be deleted
- The Unknown User account cannot be deleted
-
Note that in this use case clearing all locks is an "all or nothing" proposition. Selectively clearing job locks is not available from this point in the application
|
|