Swrtodat
Swrtodat
Use Case ID: UC-08 Use Case Name: Register for a Sale
Account
Created By: Date Created: 2023/10/08
Primary Actor: User Secondary Actor: None
This use case describes the process of a user registering an account to
Description: participate in online sales on the website.
Priority: High
User selects the option to register an account on the website.
Trigger:
Preconditions: No user accounts with the same email address already exist in the system.
The user has successfully created an account and is logged in.
Post -
Conditions:
1. User visits website or sales application.
2. The user clicks the "Register" link or similar option.
3. The system displays an account registration form with required
information fields such as name, email address, password, etc.
Basic Flow:
4. The user fills in the necessary information in the form.
5. The user clicks the "Register" button.
6. The system checks whether the email address exists or not. If it
already exists, display an error message and ask the user to use a
different email address.
7. If the email address does not exist, the system creates a new
account for the user with registration information and sends a
confirmation email to the provided email address.
8. The user checks the email and confirms the registration by clicking
the confirmation link.
9. The system confirms the account and displays a successful
registration message.
10. The user has successfully registered and can log in with his new
account.
Alternative 6a. If the user enters an invalid or malformed email address, the system
Flow: displays an error message and asks the user to re-enter.
Use Case ID: UC-33 Use Case Name: View Other User
Profile
Created By: Quang Vinh Date Created: 2023/10/08
Primary Actor: User Secondary Actor: None
This use case describes the process of a user viewing another user's profile
Description: on a website.
Priority: Average
User selects another user to view their profile.
Trigger:
Preconditions: The target user's profile is available in the system.
The user viewed the target user's profile.
Post -
Conditions:
1. User visits a website or application.
2. Users search or select target users to view their profiles.
3. The system displays the target user's profile, including information
such as name, avatar, description, etc.
Basic Flow:
4. Users browse the information in the profile and read the
description.
5. Users can perform tasks such as sending messages to target users
or following them
Alternative 4a. If the target user's profile does not have information or a profile
Flow: picture, the system still displays the profile with the available information.
3a. If the target user does not exist or cannot be found in the system, the
system displays an error message and asks the user to try again or check
the entered target user name.
Exception Flow:
Business Rules: Rules and restrictions on access to the target user's profile may be applied
based on their privacy.
Use Case ID: UC-35 Use Case Name: Change User Role
Use Case ID: UC-36 Use Case Name: See list of users