Student portal user stories
What each user needs from the student portal, written as user stories with acceptance criteria.
A working student portal to start from
The user stories
Written by the free User Story Generator from a one-paragraph brief of the app.
Student portal for a small private school
US-1 Create the school administrator account
Priority: must
As the person setting up the school, I want the first account that signs up to become the administrator, so that I can start configuring the portal without any outside help
Acceptance criteria:
- Given no account exists yet, When someone signs up with a name, email and password, Then that account is created with the administrator role and lands on the administration area.
- Given at least one account already exists, When someone else signs up, Then they do not receive the administrator role and see a message that new accounts are created by the school office.
- Given the sign-up form, When the email is already in use or the password is too short, Then no account is created and the problem is shown next to the field.
Assumption: after the first account, sign-up is closed and the office creates all other accounts.
US-2 Try every part of the app as administrator
Priority: should
As the administrator, I want to switch between the office, teacher and student views, so that I can see exactly what each role sees
Acceptance criteria:
- Given I am signed in as administrator, When I open the view switcher, Then I can choose Office, Teacher or Student.
- Given I chose the Teacher view, When I open a lesson, Then I can take attendance and enter grades just like a teacher.
- Given I chose the Student view, When I open the timetable, grades or attendance, Then I see sample data or an empty state clearly marked as the administrator's own view, never another student's record.
Assumption: the administrator has no student record of their own, so the Student view shows the portal's layout with empty states or sample entries.
US-3 Manage students, teachers, classes and subjects
Priority: must
As a school office member, I want to add, edit and deactivate students, teachers, classes and subjects, so that the portal reflects who is at the school
Acceptance criteria:
- Given the office area, When I add a student with name, email and class, Then the student appears in that class's list and can sign in with the invitation sent to that email.
- Given a teacher, When I assign them to a subject in a class, Then that class and subject show up in their teaching list.
- Given a student who left the school, When I deactivate them, Then they can no longer sign in but their grades and attendance stay visible to the office.
- Given a class or subject that has students or lessons attached, When I try to delete it, Then I am told it is in use and offered deactivation instead.
US-4 Build the timetable
Priority: must
As a school office member, I want to schedule lessons by class, subject, teacher, room, weekday and time, so that students and teachers know where to be
Acceptance criteria:
- Given the timetable editor, When I add a lesson for a class, subject, teacher, weekday and time slot, Then it appears in that class's weekly timetable and in the teacher's timetable.
- Given a teacher or class already has a lesson in that time slot, When I try to add a second one, Then it is not saved and I see which lesson conflicts.
- Given I move or cancel a lesson, When I save, Then the affected students and teacher see the updated timetable the next time they open it.
US-5 Take attendance for a lesson
Priority: must
As a teacher, I want to mark each student present, late or absent for a lesson, so that the school has an accurate attendance record
Acceptance criteria:
- Given one of my lessons today, When I open it, Then I see the class list with every student preset to present, ready for me to change.
- Given I mark students and save, When I reopen the lesson, Then my marks are shown and I can correct them.
- Given a lesson I do not teach, When I try to open its attendance, Then access is denied and nothing is shown.
- Given a lesson on a day that is not yet here, When I open it, Then attendance cannot be saved.
Assumption: three statuses (present, late, absent) are enough; absence reasons are out of scope.
US-6 Enter grades for assignments
Priority: must
As a teacher, I want to create an assignment and enter a grade for each student, so that students can follow their progress
Acceptance criteria:
- Given a class and subject I teach, When I create an assignment with a title, date and maximum score, Then it appears in that subject's assignment list.
- Given an assignment, When I enter a score for a student, Then it is saved and shown to that student under the subject.
- Given a score higher than the maximum or a negative number, When I save, Then it is rejected with a clear message.
- Given a student without a score, When the student views the assignment, Then it shows as "not graded yet" rather than zero.
US-7 View my timetable
Priority: must
As a student, I want to see my weekly timetable, so that I know which lessons I have and where
Acceptance criteria:
- Given I am signed in, When I open the timetable, Then I see this week's lessons by day and time with subject, teacher and room.
- Given a lesson was cancelled or moved, When I open the timetable, Then it is marked as cancelled or shown in its new slot.
- Given my class has no lessons scheduled yet, When I open the timetable, Then I see an empty state saying the office has not published one.
US-8 View my grades per subject
Priority: must
As a student, I want to see my grades grouped by subject, so that I understand how I am doing
Acceptance criteria:
- Given I have graded assignments, When I open Grades, Then each subject lists its assignments with my score, the maximum and the date.
- Given a subject with no graded assignments, When I open Grades, Then the subject appears with a note that nothing is graded yet.
- Given another student's grades, When I try to reach them through a link or by changing the address, Then I am denied access.
US-9 View my attendance record
Priority: must
As a student, I want to see my attendance, so that I know how many lessons I missed
Acceptance criteria:
- Given attendance has been taken, When I open Attendance, Then I see a list of lessons with date, subject and status, plus totals for present, late and absent.
- Given a teacher corrects an entry, When I reopen the page, Then I see the corrected status.
- Given no attendance has been taken yet, When I open the page, Then I see an empty state instead of zeros presented as a record.
US-10 Publish and read announcements
Priority: should
As a school office member, I want to publish announcements, so that students and teachers hear school news in one place
Acceptance criteria:
- Given the office area, When I publish an announcement with a title and text, Then it appears at the top of every signed-in user's announcements list, newest first.
- Given I edit or delete an announcement, When I save, Then readers see the change on their next visit.
- Given I am a student or teacher, When I look for a way to create or edit announcements, Then none is offered, and opening the page by address is denied.
- Given an empty title or text, When I try to publish, Then it is not saved and the missing field is highlighted.
US-11 Sign in and keep roles separate
Priority: must
As any portal user, I want to sign in and only see what my role allows, so that student data stays private
Acceptance criteria:
- Given an invitation email, When I open the link and set a password, Then my account is active and I land on the home page for my role.
- Given I enter a wrong password, When I submit, Then I am not signed in and see a message that does not reveal whether the email exists.
- Given I have forgotten my password, When I request a reset with my email, Then I receive a link that lets me set a new one.
- Given I am a student or teacher, When I open an office page by address, Then access is denied.