0% found this document useful (0 votes)
61 views13 pages

PowerChute Password Reset Guide

The document outlines a use-case model for a library system, detailing various actors such as users and librarians, along with specific use cases like changing passwords, registering accounts, and managing book rentals. Each use case includes a summary, prerequisites, results, and main scripts that describe the interactions and processes involved. The document emphasizes security, data integrity, and user-friendly interfaces as key non-functional constraints.

Uploaded by

21070407
Copyright
© All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
61 views13 pages

PowerChute Password Reset Guide

The document outlines a use-case model for a library system, detailing various actors such as users and librarians, along with specific use cases like changing passwords, registering accounts, and managing book rentals. Each use case includes a summary, prerequisites, results, and main scripts that describe the interactions and processes involved. The document emphasizes security, data integrity, and user-friendly interfaces as key non-functional constraints.

Uploaded by

21070407
Copyright
© All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd

A.

Use-case model

1. Actors board
ID Actor
01 User
02 Librarian

2. Use-case board
Use Case ID Use Case
UC01 Change password
UC02 Register an account
UC03 Login into user account
UC04 Reset password
UC05 Find a book by name, title…
UC06 Edit personal information
UC07 Register to rent book
UC08 Manage book rent
UC09 View rent history
UC10 View book submission deadline
UC11 Add the book into the system
UC12 Delete the book
UC13 Edit book information
UC14 Edit admin access rights
UC15 Logout user account

B. Use-case specification
Use case ID UC01
Use case name Change Password
Summary Allows users to change their
account password for security
reasons.
Actor Users, Librarians
Prerequisites Users must have an existing
account and be logged in.
Result Users successfully update their
password.
Main script 1. User navigates to the Account
Settings page.
2. User clicks on the Change
Password option.
3. The system displays a form
requiring:
- Current Password
- New Password
- Confirm New Password
4. User fills in the required fields
and clicks Submit.
5. The system verifies the current
password.
6. If the current password is correct:

- The system checks if the new


password meets security
requirements.
- If valid, the system updates the
password and displays a success
message.
- The user is redirected to the
login page or given an option to
continue.
7. If the current password is
incorrect or the new password does
not meet requirements:
- The system displays an error
message and prompts the user to
try again.

Use Case ID UC02


Use case name Register an Account
Summary Allows new users to create an
account in the system.
Actor Users, Librarians
Prerequisites The user does not have an existing
account.
Result Users successfully create a new
account.
Main script 1. User clicks the "Register"
button.
2. The system displays a
registration form with the following
fields:
- Full Name
- Email/Phone Number
- Password
- Confirm Password
3. The user fills in all required fields
and clicks the "Submit" button.
4. The system validates the
information:
- Checks if the email/phone
number is already registered.
- Ensures the password meets
security requirements.
5. If validation is successful:
- The system creates a new
account.
- The system sends a
confirmation email or OTP to verify
the user's identity.
- The user is redirected to the
login page or automatically logged
in.
6. If validation fails:
- The system displays an error
message and prompts the user to
correct the information.

Use case ID UC03


Use case name Login into user account
Summary For the users who already have an account
Actor Users, librarians
Prerequisites Have an account on the database
Result Users can login into account
Main script 1. Click “Login” button
2. The system appears a form with personal information such
as “Email/Phone number” and “Password”
3. Users click into “Login” button for confirm
4. System checks the login information
5. System gives a success announcement and bring back into
home page
Sub script 1. At step 3, if users forget their password, they can enter the
“Forgot the password?” to reset the password.
2. At step 4, if there is lack of information given by user, the
system gives an error announcement and stops the step 5
process
3. At step 5, if there is any wrong information, the system
gives an error announcement and force users to type the
email/phone number and password again
Non-functional High security
constraints
User-friendly interface

Use case ID UC04


Use case name Reset password
Summary Allows users to reset their password in case they forget it
Actor Users, librarians
Prerequisites User must have a registered account
Result Users receive a new password or set a new password
Main script 1. User clicks on the “Fogot password?” link
2. System displays a form asking for the registered email
or phone number
3. User enters their email or phone number and submits
the request
4. System sends a password reset link or OTP to the user’s
email/phone
5. User enters the new password and confirms it
6. System updates the password and the provides a
success message
Sub script 1. If the users an unregistered email/phone, the system
gives an error message.
2. if the user fails OTP verification, they must request a
new OTP
3. If password reset fails, the system prompts the user to
try again
Non-functional High security
constraints
Fast processing time

Use case ID UC05


Use case name Find a book by name, title…
Summary Users can search for books by entering keywords
Actor Users, librarians
Prerequisites Books must be available in the system database
Result Users receive search results matching their query
Main script 1. User enters keywords (book name, title, author, etc.) in
the search bar
2. System processes the query and searches the database
3. System displays a list of books matching the criteria
4. User selects a book to view details
Sub script 1. If no matching books are found, the system displays a
"No results found" message.
2. If the system has a high search load, results may be
delayed
3. If password reset fails, the system prompts the user to
try again
Non-functional Fast and accurate search functionality
constraints
User-friendly interface

Use case ID UC06


Use case name Edit personal information
Summary Allows users to update their personal information
Actor Users
Prerequisites Users must be logged into their accounts
Result Updated personal information is saved in the system
Main script 1. User navigates to the profile settings page
2. User selects the "Edit" option
3. User updates personal details (name, phone, address,
etc.)
4. User confirms the changes
5. System validates and updates the information
6. System displays a success message
Sub script 1. If mandatory fields are left blank, an error message is
displayed
2. If invalid data is entered (e.g., incorrect email format),
an error is shown
Non-functional Data validation to prevent incorrect entries
constraints
Secure handling of personal information

Use case ID UC07


Use case name Register to rent book
Summary
Users can register to rent a book from the library system

Actor Users
Prerequisites Users must have a valid library account
Result Users successfully register for book rental
Main script 1. User selects a book to rent
2. System checks book availability
3. User confirms rental request
4. System updates rental records and displays a
confirmation message
5. System sends a notification to the user with rental
details
Sub script 1. If the book is unavailable, the system notifies the user
2. If the user has exceeded rental limits, the system
prevents further rentals
3. If the rental request fails, the system logs the error and
notifies the user
Non-functional Real-time book availability check
constraints
Automated notification system

Use case ID UC08


Use case name Manage book rent
Summary
Librarians can manage book rental transactions

Actor Librarians
Prerequisites Users must have an active rental request
Result Successful book rental management
Main script 1. Librarian accesses the book rental management system
2. Librarian checks rental status and due dates
3. Librarian processes book return and updates records
4. Librarian verifies book condition before finalizing
return
5. System displays confirmation message
Sub script 1. If a book is returned late, the system calculates a fine
2. If a book is damaged, the system records the issue and
notifies the user
Non-functional Secure record-keeping
constraints
Fine calculation and damage tracking

Use case ID UC09


Use case name View Rent History
Summary Allows users to view their book rental
history.
Actor Users
Prerequisites Users, Librarians
Result Users must be logged into their
accounts.
Main script 1. User navigates to the "Rent
History" section.
2. The system retrieves and
displays a list of previously rented
books, including:
- Book title
- Rental date
- Return date
- Rental status (returned,
overdue, etc.)
Sub script If no rental history is found, the
system displays a "No records
found" message.
Non-functional constraints Ensure data accuracy and fast
retrieval of rental records.

Use case ID UC10


Use case name View Book Submission Deadline
Summary Allows users to check the deadline
for returning borrowed books.
Actor Users
Prerequisites Users must have active book rentals.
Result Users can see their book submission
deadlines..
Main script 1. User navigates to the "My
Borrowed Books" section.
2. The system displays a list of
borrowed books with due dates.
3. The user can view the details,
including:
- Book title

Sub script If no active rentals exist, the system


displays "No borrowed books
found."
Non-functional constraints Ensure accurate tracking and real-
time updates of due dates.

Use case ID UC11


Use case name Add the Book into the System
Summary Allows librarians to add new books to
the library database..
Actor Librarian
Prerequisites Librarian must be logged in with
appropriate permissions
Result The book is successfully added to the
system.
Main script 1. Librarian navigates to the
"Book Management" section.
2. Librarian clicks on "Add New
Book".
3. The system displays a form
requiring:
- Book title
- Author
- Genre
- ISBN
- Available copies
4. The librarian fills in the details
and clicks "Submit".
5. The system validates the input
and saves the book information.
6. The system displays a success
message.
Sub script 1. If required fields are missing,
the system shows an error
message.
2. If the book already exists,
the system prompts to update
the existing record..
Non-functional constraints Ensure data integrity and prevent
duplicate entries.

Use case ID UC12


Use case name Delete the Book
Summary Allows librarians to remove books
from the system..
Actor Librarians
Prerequisites Librarian must be logged in with
delete permissions.
Result The book is successfully removed
from the system.
Main script 1. Librarian navigates to the
"Book Management" section.
2. Librarian searches for the book
to be deleted.
3. Librarian selects the book and
clicks "Delete".
4. The system asks for
confirmation.
5. If confirmed, the system
removes the book and displays a
success message.
Sub script 1. If the book is currently
borrowed, the system prevents
deletion and shows an error
message.
2. If the book does not exist,
the system displays "Book not
found"..
Non-functional constraints Ensure only authorized users can
delete books.
Use case ID UC13
Use case name Edit Book Information
Summary Allows librarians to update book
details in the system..
Actor Librarians
Prerequisites Librarian must be logged in with edit
permissions.
Result The book details are successfully
updated.
Main script 1. Librarian navigates to the
"Book Management" section.
2. Librarian searches for the book
to be edited.
3. Librarian selects the book and
clicks "Edit".
4. The system displays an editable
form with current book details.
5. Librarian updates necessary
fields and clicks "Save".
6. The system validates the
changes and updates the book
record.
7. The system displays a success
message.
Sub script 1. If mandatory fields are left
blank, an error message is
displayed.
2. If invalid data is entered
(e.g., incorrect ISBN format), an
error message appears.
Non-functional constraints Ensure data integrity and log all
changes for auditing.

You might also like