UC Specification
UC Specification
Post-Condition
POS-01: The system displays a list of all registered users.
Main flows
Step Actor Action
1 Admin Clicks on the “View All User” option from the admin dashboard
2 LMS Displays the "All Users" screen with a list of all registered users,
including their usernames, emails, and account statuses.
3 admin Can view the details of each user and perform actions such as edit
user details, deactivate account, etc. (if these functionalities are
provided on the same screen).
Alternative flows
AT1 At step 2 in the main flows, if there is an internal error in the system,
Sub Actor Action
step
2.1 LMS Display "Error" page with message "Internal System Error, please
contact with administrator"
Business Rules
# Rule Description
BR-01
Only admin users can access the "View All Users"
functionality.
BR-02 The user details displayed must not include sensitive information such as
passwords.
UC02 Use Case Name
Use Case ID View User Details
Post-Condition
POS-01: The system displays the detailed information of the selected
user.
Main flows
Step Actor Action
1 Admin Clicks on the desired user from the "View All Users" list.
2 LMS Displays the "User Details" screen with detailed information of the
selected user, including username, email, account status, registration
date, last login, and role.
Alternative flows
AT1 At step 2 in the main flows, if there is an internal error in the system,
Sub Actor Action
step
2.1 LMS Display "Error" page with message "Internal System Error, please
contact with administrator"
Business Rules
# Rule Description
BR-01
Only admin users can access the "View User Details"
functionality.
BR-02 The user details displayed must not include sensitive information such as
passwords.
UC03 Use Case Name
Use Case ID Set Role for User
Post-Condition
POS-01: The system updates the role of the selected user and
confirms the change to the admin
Main flows
Step Actor Action
1 Admin Selects a user from the user management interface.
2 LMS Displays the "Set Role" screen with current role information and
available roles to assign.
3 Admin Selects the desired role from the available options and confirms the
change.
4 LMS Updates the user's role in the system and displays a confirmation
message to the admin.
Alternative flows
AT1 At step 2 in the main flows, if there is an internal error in the system,
Sub Actor Action
step
2.1 LMS Display "Error" page with message "Internal System Error, please
contact with administrator"
Business Rules
# Rule Description
BR-01
Only admin users can access the "Set Role" functionality.
BR-02 The roles available for assignment must be predefined and consistent with the
system's role management policies.
Post-Condition
POS-01: The system updates the details of the selected user and
confirms the change to the admin
Main flows
Step Actor Action
1 Admin Selects a user from the user management interface.
2 LMS Displays the "Update User" screen with current user information.
3 Admin Updates the user information (e.g., username, email, account status)
and confirms the changes.
4 LMS Updates the user's information in the system and displays a
confirmation message to the admin.
Alternative flows
AT1 At step 2 in the main flows, if there is an internal error in the system,
Sub Actor Action
step
2.1 LMS Display "Error" page with message "Internal System Error, please
contact with administrator"
Business Rules
# Rule Description
BR-01
Only admin users can access the "Update User"
functionality.
BR-02 The updated user information must comply with the system's data validation
rules.
Post-Condition
POS-01:The system blocks the selected user and confirms the change
to the admin.
Main flows
Step Actor Action
1 Admin Selects a user from the user management interface.
2 LMS Displays the "Block User" confirmation screen with user details.
3 Admin Confirms the blocking action.
4 LMS Blocks the user's account in the system and displays a confirmation
message to the admin.
Alternative flows
AT1 At step 2 in the main flows, if there is an internal error in the system,
Sub Actor Action
step
2.1 LMS Display "Error" page with message "Internal System Error, please
contact with administrator"
Business Rules
# Rule Description
BR-01
Only admin users can access the "Block User"
functionality.
BR-02 The blocked user must not be able to log in or access any part of the system.
Post-Condition
POS-01: The system displays the details of the selected post.
Main flows
Step Actor Action
1 Admin Selects a post from the post listing page.
2 LMS Displays the "View Post" screen with detailed information of the
selected post, including title, content, author information, date of
posting, and number of views/comments
Alternative flows
AT1 At step 2 in the main flows, if there is an internal error in the system,
Sub Actor Action
step
2.1 LMS Display "Error" page with message "Internal System Error, please
contact with administrator"
Business Rules
# Rule Description
BR-01
Only registered users can view the details of a post.
BR-02 The post details displayed must include all relevant information without exposing
any sensitive data.
Post-Condition
POS-01: The system updates the post status to approved and makes it
visible to all users.
Main flows
Step Actor Action
1 Admin Selects a post from the post management interface.
2 LMS Displays the "Approve Post" confirmation screen with post details.
3 Admin
Confirms the approval action.
4 LMS Updates the post status to approved and displays a confirmation
message to the admin.
Alternative flows
AT1 At step 2 in the main flows, if there is an internal error in the system,
Sub Actor Action
step
2.1 LMS Display "Error" page with message "Internal System Error, please
contact with administrator"
Business Rules
# Rule Description
BR-01
Only admin users can approve posts.
Main flows
Step Actor Action
1 Admin Selects a post from the post management interface.
2 LMS Displays the "Reject Post" confirmation screen with post details.
3 Admin
Confirms the rejection action and optionally provides a reason for
rejection.
4 LMS Updates the post status to rejected, notifies the post author, and
displays a confirmation message to the admin.
Alternative flows
AT1 At step 2 in the main flows, if there is an internal error in the system,
Sub Actor Action
step
2.1 LMS Display "Error" page with message "Internal System Error, please
contact with administrator"
Business Rules
# Rule Description
BR-01
Only admin users can reject posts.
BR-02 The post author must be notified of the rejection and the reason, if provided.
Post-Condition
POS-01: The system updates the post status to rejected and notifies
the post author.
Main flows
Step Actor Action
1 Admin Selects a post from the post management interface.
2 LMS Displays the "Edit Post" screen with current post details.
3 Admin Edits the post information (e.g., title, content) and confirms the
changes.
4 LMS Updates the post with the new content and displays a confirmation
message to the actor.
Alternative flows
AT1 At step 2 in the main flows, if there is an internal error in the system,
Sub Actor Action
step
2.1 LMS Display "Error" page with message "Internal System Error, please
contact with administrator"
Business Rules
# Rule Description
BR-01
Only admin users or post authors can edit posts.
BR-02 The updated post content must comply with the system's content guidelines.
Post-Condition
POS-01: The system removes the post and confirms the deletion to the
actor.
Main flows
Step Actor Action
1 Admin Selects a post from the post management interface.
2 LMS Displays the "Delete Post" confirmation screen with post details.
3 Admin Confirms the deletion action.
4 LMS Deletes the post from the system and displays a confirmation message
to the actor.
Alternative flows
AT1 At step 2 in the main flows, if there is an internal error in the system,
Sub Actor Action
step
2.1 LMS Display "Error" page with message "Internal System Error, please
contact with administrator"
Business Rules
# Rule Description
BR-01
Only admin users or post authors can delete posts.