Use case diagram ‐ 451 - bounswe/bounswe2024group6 GitHub Wiki
Use Case Diagram Explanation
The use case diagram showcases the system architecture divided into three main subsystems: Quiz App, Forum App, and Account Management. Each subsystem includes a set of functionalities (use cases) and specifies which user roles can access them. The three main actors interacting with the system are Guest, Registered User, and Admin.
1. Quiz App Subsystem
Guest: Can browse quizzes and search for quizzes. Browsing quizzes includes the extended functionality of searching. Registered User: In addition to browsing and searching for quizzes, a registered user can take quizzes and create new quizzes. Admin: Can delete any quiz within the system in addition to being able to do everything a registered user can.
Use Cases: Browse Quizzes: Guests and registered users can view available quizzes. Search Quizzes: A more refined functionality under browse quizzes, allowing users to find quizzes based on search criteria. Take Quiz: Registered users have the option to take quizzes. Create Quiz: Registered users can add new quizzes to the system. Delete Quiz: Only admins have the ability to delete quizzes, and they can delete any quiz they see fit.
2. Forum App Subsystem
Guest: Can browse posts and search for posts. Browsing posts allows guests to view comments under specific posts. Registered User: In addition to guest capabilities, registered users can create posts, create comments under a post, and delete their own posts. Admin: Has the ability to delete any post and any comment, as well as add tags to posts.
Use Cases: Browse Posts: Allows users to view existing posts. Search Posts: An extended functionality under browse posts, allowing users to filter posts by search. Browse Comments under a Post: Linked to browsing posts, this enables users to view comments under a selected post. Create Posts: Registered users can start new discussion posts. Create Comment under a Post: Registered users can contribute to discussions by posting in posts. Add Tags to a Post: Admins can tag posts with relevant keywords. Delete Own Post: Registered users can delete posts they have made. Delete Any Post: Admins can delete any post across the forum. Delete Any Comment: Admins have the authority to delete any comment within the forum.
3. Account Management Subsystem
Guest: Can sign up to become a registered user. Registered User: Can view profiles, follow other users, and change their profile information. Admin: Has the authority to ban users.
Use Cases: Sign Up: Guests can create an account to become registered users. View Profile: Registered users can view their profile or the profiles of other users. Change Profile: Users can update their profile information, which extends the view profile functionality. Follow User: Registered users can follow other users to stay updated on their activities. Ban User: Admins have the power to ban any user from the system.
Summary
The diagram effectively captures how different user roles interact with the system. Guests have their access limited to browsing and viewing content, while registered users can participate more actively by creating, posting, and managing content. Admins hold the highest level of control, with the ability to delete or ban as necessary across all subsystems.